Template:Work: Difference between revisions
Content added Content deleted
No edit summary |
(temporary revert to look less broken) |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:curpage|{{{page| {{ |
<includeonly>{{#vardefine:curpage|{{{page| {{#titleparts: {{PAGENAME}} | 1}} }}} }} |
||
{| class="wikitable" |
{| class="wikitable" |
||
|<div class="hlist tropemenu"> |
|<div class="hlist tropemenu"> |
||
{{#if: {{{page|}}}|* [[{{#var:curpage}}|Main]]}} |
|||
* [[File:Farm-Fresh balance.png|16px|link={{#var:curpage}}/YMMV]][[{{#var:curpage}}/YMMV|YMMV]] |
* [[File:Farm-Fresh balance.png|16px|link={{#var:curpage}}/YMMV]][[{{#var:curpage}}/YMMV|YMMV]] |
||
* [[File:Transmit blue.png|link={{#var:curpage}}/Radar]][[{{#var:curpage}}/Radar|Radar]] |
* [[File:Transmit blue.png|link={{#var:curpage}}/Radar]][[{{#var:curpage}}/Radar|Radar]] |
||
Line 25: | Line 24: | ||
* [[File:Ayanami Rei 16px.png|link={{#var:curpage}}/Laconic]][[{{#var:curpage}}/Laconic|Laconic]] |
* [[File:Ayanami Rei 16px.png|link={{#var:curpage}}/Laconic]][[{{#var:curpage}}/Laconic|Laconic]] |
||
* [[File:Pending changes reviewed.png|16px|link={{#var:curpage}}/Reviews]][[{{#var:curpage}}/Reviews|Reviews]] |
* [[File:Pending changes reviewed.png|16px|link={{#var:curpage}}/Reviews]][[{{#var:curpage}}/Reviews|Reviews]] |
||
* [[File:Incomplete list.png|16px]][[{{#var:curpage}}/Useful Notes|Useful Notes]] |
|||
* [[File:Wikipedia-icon.png|16px|link=wikipedia:{{{wppage|{{#var:curpage}}}}}]][[wikipedia:{{{wppage|{{#var:curpage}}}}}|Wikipedia]] |
* [[File:Wikipedia-icon.png|16px|link=wikipedia:{{{wppage|{{#var:curpage}}}}}]][[wikipedia:{{{wppage|{{#var:curpage}}}}}|Wikipedia]] |
||
</div> |
</div> |
Revision as of 08:50, 13 June 2014
- Description
- This template creates the subpage links at the top of most works pages on All The Tropes.
- Syntax
- Place {{work}} at the top of the article. This makes a bar that looks like this:
- Options
- With a page parameter, specify a particular parent page to display the template for. Useful for subpages that have their own subpages, such as "Series/Book 1/..." (e.g. Harry Potter/Harry Potter and the Deathly Hallows/YMMV). This is what
{{work|page=Buffy the Vampire Slayer)}}
produces:
- With a wppage parameter, specify a particular Wikipedia article to link to. This is useful for when Wikipedia has an article on the work in question, but its title doesn't match up. This is what
{{work|wppage=Chintzware}}
produces:
- See Also
- {{trope}} for tropes, {{creator}} for creators, and {{Useful Notes}} for Useful Notes.