autopatrol
3,554
edits
m (Emma moved page Template:Pieces of Heart to Template:Hearts: Ease of use) |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#switch:{{{1|}}} | {{#switch:{{{1|}}} | ||
|Ocarina of Time={{ | |Ocarina of Time={{Hearts/Ocarina of Time}} | ||
|Majora's Mask={{ | |Majora's Mask={{Hearts/Majora's Mask}} | ||
|The Minish Cap={{ | |The Minish Cap={{Hearts/The Minish Cap}} | ||
}}<noinclude> | }}<noinclude> | ||
==Purpose== | ==Purpose== | ||
This page is used to create a tabbed interface for Pieces of Heart listings for use when transcluding the listings to other pages. The page itself would remain a full, non-tabbed list. | This page is used to create a tabbed interface for Pieces of Heart/Heart Container listings for use when transcluding the listings to other pages. The page itself would remain a full, non-tabbed list. | ||
==Usage== | ==Usage== | ||
To use this template, type: {{ | To use this template, type: {{Usage|Game}} | ||
{{ | {{Usage/Param|Game|The game for which you want to display the piece of heart listing.}} | ||
The formatting for each game's tabs are placed on [[Special:PrefixIndex/Template: | The formatting for each game's tabs are placed on [[Special:PrefixIndex/Template:Hearts/|subpages]] of this page. If a game's piece of heart listing doesn't yet have a tabbed format, the process of adding it is simple. Just copy the tabbed interface from an existing one, and then place the new one on the appropriate subpage and then edit it into the code at the top of this template. | ||
The tabbed interface uses the by-section transclusion method. So in order for it to work for a piece of heart listing, that page's sections need to have the proper section coding, which can be seen in the pages that already have the formatting. This method allows the listing pages to be edited without having to worry about also editing the tabbed version to match, as it is automatically transcluded. | The tabbed interface uses the by-section transclusion method. So in order for it to work for a piece of heart listing, that page's sections need to have the proper section coding, which can be seen in the pages that already have the formatting. This method allows the listing pages to be edited without having to worry about also editing the tabbed version to match, as it is automatically transcluded. | ||
{{Cat|Formatting Templates}}</noinclude> | {{Cat|Formatting Templates}}</noinclude> |