Difference between revisions of "Template:Contents"
From SDA Knowledge Base
m (renaming to avoid confusion with on-page contents, coloring heading) |
m (converting styles to class) |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | < | + | <div class="contents"> |
| − | + | <div style="text-align:center">[[{{#titleparts:{{FULLPAGENAME}}|1}}/Contents|All pages]]</div> | |
| − | + | {{:{{#titleparts:{{FULLPAGENAME}}|1}}/Contents}} | |
| − | + | </div><noinclude> | |
| − | {{:{{ | + | |
| − | + | ||
<pre>{{contents}}</pre> | <pre>{{contents}}</pre> | ||
| − | |||
| − | [[Category:Templates]]</noinclude> | + | Contents template for use on game pages and their subpages. Put this template at the top of each game page and subpage (below the <nowiki>{{</nowiki>[[:Template:Sda run|sda run]]}} template, if applicable), except for the Contents page itself. Then create the Contents page (at ''Game Name''/Contents), with a link to the main page and any subpages below that, and it will be updated on all pages. |
| + | |||
| + | See [[Donkey Kong 64]] and [[Donkey Kong 64/Contents]] for an example. | ||
| + | |||
| + | [[Category:Templates|Contents]]</noinclude> | ||
Latest revision as of 05:00, 29 July 2010
{{contents}}
Contents template for use on game pages and their subpages. Put this template at the top of each game page and subpage (below the {{sda run}} template, if applicable), except for the Contents page itself. Then create the Contents page (at Game Name/Contents), with a link to the main page and any subpages below that, and it will be updated on all pages.
See Donkey Kong 64 and Donkey Kong 64/Contents for an example.