Template:Chapter: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Yandere-sliver
No edit summary
>Yandere-sliver
No edit summary
Line 1: Line 1:
<includeonly>{{#vardefine:font-styles|font-family:serif; position:absolute; color:black; font-weight:bold;}}<span style="position:relative;">{{#vardefine:position|{{#switch:{{{1|}}}|I=left:7px;|III|IV=left:3px;|#default=left:5px;}}}}{{#tag:span|[[File:chapter.png|frameless|x20px|link=|alt=]]|class=explain|title=Chapter {{{1|}}}}}<span style="{{#var:position}} bottom:-2px; font-size:11px; {{#var:font-styles}}">{{{1|}}}</span>
<includeonly>{{#vardefine:font-styles|font-family:serif; position:absolute; color:black; font-weight:bold;}}<span style="position:relative;">{{#vardefine:position|{{#switch:{{{1|}}}|I=left:7px;|III|IV=left:3px;|#default=left:5px;}}}}{{#tag:span|[[File:chapter.png|frameless|x20px|link=|alt=]]|class=explain|title=Chapter {{{1|}}}}}<span style="{{#var:position}} bottom:-2.5px; font-size:11px; {{#var:font-styles}}">{{{1|}}}</span>
</includeonly><noinclude>The chapter template only has one parameter to determine what symbol should be used.
</includeonly><noinclude>The chapter template only has one parameter to determine what symbol should be used.



Revision as of 09:23, 5 September 2020

The chapter template only has one parameter to determine what symbol should be used.

Code Result
{{Chapter|I}} I
{{Chapter|II}} II
{{Chapter|III}} III
{{Chapter|IV}} IV
{{Chapter|V}} V