Template:NavSpecies: Difference between revisions
From Portals of Phereon Wiki
Content added Content deleted
portalsofphereon>Olaroll No edit summary |
portalsofphereon>Olaroll No edit summary |
||
Line 30: | Line 30: | ||
{{#if:{{{15|}}}|{{ucfirst:{{{15|}}}}}={{NavSpecies/{{ucfirst:{{{15|}}}}}}}}} |
{{#if:{{{15|}}}|{{ucfirst:{{{15|}}}}}={{NavSpecies/{{ucfirst:{{{15|}}}}}}}}} |
||
<!--Continue pattern as needed--> |
<!--Continue pattern as needed--> |
||
}}</div>{{#if:{{{16|}}}|<span class="error">[[Template:NavSpecies]]: Too many anchors; maximum is 10.</span>[[Category:Template errors]]}}</includeonly><!-- |
|||
}}</div></includeonly><!-- |
|||
IMPORTANT NOTE: There is a zero width space (there is one here ><) before each = sign. This is to prevent an issue with tabber when the tab name and a link in said tab have the same name. |
IMPORTANT NOTE: There is a zero width space (there is one here ><) before each = sign. This is to prevent an issue with tabber when the tab name and a link in said tab have the same name. |
||
--><noinclude>{{Documentation}}</noinclude> |
--><noinclude>{{Documentation}}</noinclude> |
Revision as of 01:51, 18 November 2019
- Description
- Creates a species visual navbox with up to 15 tabs based on given parameters.
- Info
- All valid tabs can be found here
- The first letter of parameters will always get capitalized
- The optional open=# parameter can be used to specify which tab is open by default
- The optional class= parameter can be used to add class to the tabler. currently available: wide
- See also Template:NavSpeciesBasic
- Tab color styles are done in Template:NavSpecies/NavSpecies.css
- Example
{{NavSpecies|open=3|shadow|Harpy|mermaid|Beast}}Will result in this:
[view | edit | purge]The above documentation is transcluded fromTemplate:NavSpecies/doc.