Template:CharacterCard: Difference between revisions

Jump to navigation Jump to search
no edit summary
(documented)
No edit summary
Tag: Reverted
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>
[[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>
<noinclude>
Outputs an image of the character that links back to their page.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu