Template:CharacterCard: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary Tag: Manual revert |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:size | {{{2|100px}}} }}{{#ifeq: {{#sub:{{#var:size}}|0|1}} | x | {{#vardefine:size | {{#sub:{{#var:size}}|1}} }} }}[[File:{{#ifexist: File:Student_Portrait_{{{1|}}}.png | Student_Portrait_{{{1|}}} | {{#dpl:| title={{{1|}}} | format = ,,, | include = {Character}:Portrait }} }}{{#ifexpr: {{#sub:{{#var:size}}|0|-2}} <= 80 | _Small }}.png|{{{2|100px}}}|link={{{1|}}}]]</includeonly> |
<includeonly>{{#vardefine:size | {{{2|100px}}} }}{{#ifeq: {{#sub:{{#var:size}}|0|1}} | x | {{#vardefine:size | {{#sub:{{#var:size}}|1}} }} }}[[File:{{#ifexist: File:Student_Portrait_{{{1|}}}.png | Student_Portrait_{{{1|}}} | {{#dpl:| title={{{1|}}} | format = ,,, | include = {Character}:Portrait }} }}{{#ifexpr: {{#sub:{{#var:size}}|0|-2}} <= 80 | _Small }}.png|{{{2|100px}}}|class=character-card|link={{{1|}}}]]</includeonly> |
||
<noinclude> |
<noinclude> |
||
Outputs an image of the character that links back to their page. |
Outputs an image of the character that links back to their page. |