Template:Heading

From Yu-Gi-Oh - Wiki on Neoseeker

Jump to: navigation, search

Template:Heading acts as a central Template to replace Template:HeaderA, Template:HeaderB, and Template:HeaderC, so do not use the other Templates. When editing this Template, edit the part between the <onlyinclude> tags, then copy/paste that between the <pre> tags under the #Template Code section. When you want to try out new colors, you can copy/paste the code for the individual headers onto somewhere else on the page, change the colors, and then preview the page (don't save it). When you're satisfied, then you should remove the preview code and change the Template accordingly.

Usage

{{Heading|Letter|Header Text}}

Examples of Usage

Code Result
{{Heading|A|Header A Text}}

Header A Text

{{Heading|B|Header B Text}}

Header B Text

{{Heading|C|Header C Text}}

Header C Text

Template Code

{{#switch: {{{1|A}}}
| A =
<h2 style="padding:0.2em 0.4em; margin:10px 0 10px 0; border:1px solid #EE2225; background:#633C18; color:#fff; font-size:120%; font-weight:bold; text-align:left; -moz-border-radius:0.2em;">{{{2|Yu-Gi-Oh}}}</h2>
| B =
<h2 style="padding:0.2em 0.4em; margin:10px 0 10px 0; border:1px solid #633C18; background:#EE2225; color:#fff; font-size:120%; font-weight:bold; text-align:left; -moz-border-radius:0.2em;">{{{2|Yu-Gi-Oh}}}</h2>
| C =
<h2 style="padding:0.2em 0.4em; margin:10px 0 10px 0; border:1px solid #EE222B; background:#DFE6BA; color:#EE222B; font-size:120%; font-weight:bold; text-align:center; -moz-border-radius:0.2em;">{{{2|Yu-Gi-Oh}}}</h2>
}}


 
Personal tools
Toolbox
Statistics
All Time
Total articles: 86
Total edits: 400
Total images: 72
Other NeoWiki's
Served in 0.068 secs.