Difference between revisions of "Template:Choice"
From Hyrule Castle Library
m (formatting...) |
(adding collapsible function; better explained useage) |
||
| Line 1: | Line 1: | ||
| − | {| class="wikitable" style="margin: 1em auto 1em auto; font-size: 87%;" width="850px" | + | {| class="collapsible {{#if:{{{collapsed|}}}|collapsed|}} wikitable" style="margin: 1em auto 1em auto; font-size: 87%;" width="850px" |
! colspan="2"{{!}} [[Glossary:Hero's Choice|Hero's Choice]] | ! colspan="2"{{!}} [[Glossary:Hero's Choice|Hero's Choice]] | ||
{{!}}- | {{!}}- | ||
| Line 16: | Line 16: | ||
==Usage== | ==Usage== | ||
| − | This navbox template should be placed at the bottom of every treasure which is a Hero's Choice treasure. | + | This navbox template should be placed at the bottom of every treasure which is a Hero's Choice treasure. To place the template, simply type the following at the bottom of the page: |
| + | <pre>{{Choice}}</pre> | ||
| + | |||
| + | To make it so the table loads in its collapsed form, type the following instead: | ||
| + | <pre>{{Choice|collapsed=yes}}</pre> | ||
| + | |||
| + | This table should be included at the bottom of every relevant page. If it is the only such table on the page, do not use the collapsed version. | ||
[[Category:Templates]] </noinclude> | [[Category:Templates]] </noinclude> | ||
Revision as of 02:08, 15 April 2016
Usage
This navbox template should be placed at the bottom of every treasure which is a Hero's Choice treasure. To place the template, simply type the following at the bottom of the page:
{{Choice}}
To make it so the table loads in its collapsed form, type the following instead:
{{Choice|collapsed=yes}}
This table should be included at the bottom of every relevant page. If it is the only such table on the page, do not use the collapsed version.