Template:Heading

From Animal Crossing - Wiki on Neoseeker

Jump to: navigation, search


Template:Heading acts as a central Template to replace Template:HeadingA, Template:HeadingB, and Template:HeadingC, 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 #76DF35; background:#A9782C; color:#fff; font-size:120%; font-weight:bold; text-align:left; -moz-border-radius:0.2em;">{{{2|Animal Crossing}}}</h2>
| B =
<h2 style="padding:0.2em 0.4em; margin:10px 0 10px 0; border:1px solid #ada361; background:#76DF35; color:#fff; font-size:120%; font-weight:bold; text-align:left; -moz-border-radius:0.2em;">{{{2|Animal Crossing}}}</h2>
| C =
<h2 style="padding:0.2em 0.4em; margin:10px 0 10px 0; border:1px solid #fff; background:#4D9420; color:#fff; font-size:120%; font-weight:bold; text-align:center; -moz-border-radius:0.2em;">{{{2|Animal Crossing}}}</h2>
}}


 
Personal tools
Toolbox
Statistics
All Time
Total articles: 498
Total edits: 4711
Total images: 1210
Other NeoWiki's
Related Communities
Served in 0.102 secs.