More actions
m (use Main instead of a character's name to reduce repetition in the header of the page) |
(add optional movelist subpage, commented-out code for quotes subpage) |
||
Line 2: | Line 2: | ||
== Preview == | == Preview == | ||
===Without Movelist subpage=== | |||
{{Character Tabs|Kagura Mutsuki}} | {{Character Tabs|Kagura Mutsuki}} | ||
{{Character Tabs|Kagura Mutsuki|Gallery}} | |||
===With Movelist subpage=== | |||
{{Character Tabs|Kagura Mutsuki|Gallery}} | |||
{{Character Tabs|Kagura Mutsuki||Movelist=yes}} | |||
{{Character Tabs|Kagura Mutsuki|Gallery|Movelist=yes}} | |||
== Usage == | == Usage == | ||
<pre><nowiki> | <pre><nowiki> | ||
On the character's page: | On the character's page: | ||
{{Character Tabs | character name}} | {{Character Tabs|character name}} | ||
{{Character Tabs | Kagura Mutsuki}} | {{Character Tabs|Kagura Mutsuki}} | ||
On a character's subpage: | On a character's subpage: | ||
{{Character Tabs | character name | subpage}} | {{Character Tabs|character name|subpage}} | ||
{{Character Tabs | Kagura Mutsuki | Gallery}} | {{Character Tabs|Kagura Mutsuki|Gallery}} | ||
</nowiki></pre> | |||
===To show the movelist subpage=== | |||
<pre><nowiki> | |||
{{Character Tabs|character name|subpage | |||
| Movelist=anything that's not blank, including "no" (leave blank or remove this parameter for "no") | |||
}} | |||
{{Character Tabs|Kagura Mutsuki||Movelist=yes}} | |||
{{Character Tabs|Kagura Mutsuki|Gallery|Movelist=yes}} | |||
</nowiki></pre> | </nowiki></pre> | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<!-- use this when I get around to making a theme | <!-- use this when I get around to making a theme. | ||
<ul class="charnav"> | <ul class="charnav"> | ||
<li {{#if:{{{2|}}}|>[[{{{1}}}]]|class=active>{{{1}}}}}</li> | <li {{#if:{{{2|}}}|>[[{{{1}}}]]|class=active>{{{1}}}}}</li> | ||
Line 27: | Line 40: | ||
</ul> | </ul> | ||
-->{{#if: {{{2|}}} | -->{{#if: {{{2|}}} | ||
| [[ {{{1}}} | Main ]] | | [[ {{{1}}} |Main]] | ||
| '''Main''' | | '''Main'''}}<!-- | ||
}} | --> · {{#ifeq: {{{2}}} | Gallery | ||
| '''Gallery''' | | '''Gallery''' | ||
| [[ {{{1}}}/Gallery | Gallery ]] | | [[ {{{1}}}/Gallery |Gallery]] }}<!-- | ||
}}<!-- | -->{{#if:{{{Movelist|}}}| · {{#ifeq: {{{2}}} | Movelist | ||
| '''Movelist''' | | '''Movelist''' | ||
| [[ {{{1}}}/Movelist | Movelist ]] | | [[{{{1}}}/Movelist|Movelist]] }} | ||
}}--> | |}}<!-- | ||
--><!-- · {{#ifeq: {{{2}}} | Quotes | |||
| '''Quotes''' | |||
| [[{{{1}}}/Quotes|Quotes]]}} | |||
--> | |||
<hr></includeonly> | <hr></includeonly> |
Revision as of 20:23, 28 December 2017
Preview
Without Movelist subpage
Main · Gallery
Main · Gallery
With Movelist subpage
Usage
On the character's page: {{Character Tabs|character name}} {{Character Tabs|Kagura Mutsuki}} On a character's subpage: {{Character Tabs|character name|subpage}} {{Character Tabs|Kagura Mutsuki|Gallery}}
To show the movelist subpage
{{Character Tabs|character name|subpage | Movelist=anything that's not blank, including "no" (leave blank or remove this parameter for "no") }} {{Character Tabs|Kagura Mutsuki||Movelist=yes}} {{Character Tabs|Kagura Mutsuki|Gallery|Movelist=yes}}