Template:H2: Difference between revisions

Template page
w:c:strategywiki>Prod
(updating to use divs)
m (5 revisions imported: Imported from https://strategywiki.org/)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div class="toc_h2">{{{1}}}</div><noinclude>
<div class="toc_h2" {{#if:{{{2|}}}|style="text-align:center;width:80%"}}>{{{1}}}</div><noinclude>
{{Documentation}}


Template for adding a header in the game's Table of Contents.
[[Category:Templates|H]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 18:28, 28 October 2023

{{{1}}}

This page has been transcluded from Template:H2/Documentation.


Template for adding a header in the game's Table of Contents. Specifying the second parameter will make it centered.

Examples:

  • Not centered ({{h2|Whee}}):
Whee
  • Centered ({{h2|Whee|center}}):
Whee