Difference between revisions of "Template:Contents"
From SDA Knowledge Base
m (sorting) |
(table -> divs, de-uglifying, going parameterless) |
||
| Line 1: | Line 1: | ||
| − | <includeonly> | + | <includeonly><div style="float:right;background-color:#242424;padding:5px;margin-left:1em;border:1px solid #c0c0c0"> |
| − | + | <div style="background-color:#242424;text-align:center">[[{{#titleparts:{{FULLPAGENAME}}|1}}/Contents|Contents]]</div> | |
| − | + | {{:{{#titleparts:{{FULLPAGENAME}}|1}}/Contents}} | |
| − | + | </div></includeonly><noinclude> | |
| − | {{:{{{ | + | <pre>{{contents}}</pre> |
| − | + | ||
| − | <pre>{{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 <nowiki>{{</nowiki>[[:Template:Sda run|sda run]]}} template, if applicable), except for the Contents page itself. | + | 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> | [[Category:Templates|Contents]]</noinclude> | ||
Revision as of 16:06, 11 September 2009
{{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.