Template:Navbox/Icon: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#if: {{{link|}}} | {{#vardefine:pagelink| {{{link}}} }} | {{#vardefine:pagelink| {{#var:gamelink}}/{{{subpage|{{{text}}}}}} }} }}<span style="text-align:center; float:left; overflow:hidden; margin-left:1px; margin-right:1px;"><div>[[File:{{{image}}} | {{{width|{{#var:iconwidth}}}}}x{{{height|{{#var:iconheight}}}}}px | {{{text|}}} | link={{#var:pagelink}} ]]</div>{{#if: {{{text|}}} | <div style="line-height:1; text-align:center; font-size:{{{textsize|{{#var...") |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{link|}}} | {{#vardefine:pagelink| {{{link}}} }} | {{#vardefine:pagelink| {{#var:gamelink}}/{{{subpage|{{{text}}}}}} }} }}<span style="text-align:center; float:left; overflow:hidden; margin-left:1px; margin-right:1px;"><div>[[File:{{{image}}} | {{{width|{{#var:iconwidth}}}}}x{{{height|{{#var:iconheight}}}}}px | {{{text|}}} | link={{#var:pagelink}} ]]</div>{{#if: {{{text|}}} | <div style="line-height:1; text-align:center; font-size:{{{textsize|{{#var:textsize}}}}}em; width:{{{textwidth|{{#var:textwidth}}}}}px | <includeonly> | ||
{{#if: {{{link|}}} | {{#vardefine:pagelink| {{{link}}} }} | {{#vardefine:pagelink| {{#var:gamelink}}/{{{subpage|{{{text}}}}}} }} }} | |||
<span style="text-align:center; float:left; overflow:hidden; margin-left:1px; margin-right:1px;"> | |||
<div> | |||
[[File:{{{image}}} | {{{width|{{#var:iconwidth}}}}}x{{{height|{{#var:iconheight}}}}}px | {{{text|}}} | link={{#var:pagelink}} ]] | |||
</div> | |||
{{#if: {{{text|}}} | | |||
<div style="line-height:1.5em; margin-bottom:10px; text-align:center; font-size:{{{textsize|{{#var:textsize}}}}}em; width:{{{textwidth|{{#var:textwidth}}}}}px; margin:auto"> | |||
[[{{#var:pagelink}} | {{{text}}}]] | |||
</div> | |||
}} | |||
</span> | |||
</includeonly> | |||
<noinclude> | |||
See {{Tlx|Navbox}} for documentation. | See {{Tlx|Navbox}} for documentation. | ||
[[Category:Universal]] | [[Category:Universal]] | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]] | ||
</noinclude> |
Revision as of 20:22, 1 March 2024
See {{Navbox}}
for documentation.