Template:Ability card v2/Card: Difference between revisions
Appearance
m Reduced some font sizes to match the main page text sizes more closely |
m add link to notes source to edit the notes (only used in development atm) |
||
Line 37: | Line 37: | ||
{{#if: {{{notes|}}}| | {{#if: {{{notes|}}}| | ||
<div style="align-self: flex-start; margin: 10px 0 10px 20px; font-size: 0.8rem;"> | <div style="align-self: flex-start; margin: 10px 0 10px 20px; font-size: 0.8rem;"> | ||
<div style="font-size:1.15rem;"> {{#if: {{{name_link|}}}| | <div><span style="font-size:1.15rem;"> {{#if: {{{name_link|}}}| | ||
{{#vardefine:notes_localized|{{#invoke:Dictionary|translate|Notes|show_needs_translation=false}}}} | {{#vardefine:notes_localized|{{#invoke:Dictionary|translate|Notes|show_needs_translation=false}}}} | ||
[[{{{name_link}}}/{{#var:notes_localized}}|{{#var:notes_localized}}]] | [[{{{name_link}}}/{{#var:notes_localized}}|{{#var:notes_localized}}]] | ||
| | | | ||
{{#invoke:Dictionary|translate|Notes}} | {{#invoke:Dictionary|translate|Notes}} | ||
}} </div> | }}</span> | ||
{{#if:{{{notes_source_page|}}} | |||
| <span style="font-size:.7rem;">[[{{{notes_source_page}}}|edit]]</span>}}</div> | |||
</div> | |||
<div class="mw-collapsible mw-collapsed" style="align-self: flex-start; margin: 10px 0 10px 20px; font-size: 0.8rem;"> | <div class="mw-collapsible mw-collapsed" style="align-self: flex-start; margin: 10px 0 10px 20px; font-size: 0.8rem;"> | ||
<div> | <div> | ||
{{{notes}}} | {{{notes}}} | ||
</div> | </div> | ||
</div>}} | </div>}} |