Template:Tnav: Difference between revisions

From Dragon Quest Wiki
m (9 revisions: importing Template namespace from Wikia)
m (added category)
Line 3: Line 3:
:<code><nowiki>{{tnav|template name (without Template: part, example 'DQI')}}</nowiki></code>
:<code><nowiki>{{tnav|template name (without Template: part, example 'DQI')}}</nowiki></code>
:<code><nowiki>{{tnav|template name|fontcolor=color name or color hexcode}}</nowiki></code>
:<code><nowiki>{{tnav|template name|fontcolor=color name or color hexcode}}</nowiki></code>
[[Category:Navigation templates|{{PAGENAME}}]]
</noinclude>
</noinclude>
<onlyinclude><includeonly><span style="float:left; {{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}" class="tnav {{#if: {{{class|}}} | {{{class}}}}}"> [[Template:{{{1}}}|{{#if:{{{fontcolor|}}}|<span style="color:{{{fontcolor}}};">v</span>|v}}]] &middot; [{{fullurl:Template:{{{1}}}|action=edit}} {{#if:{{{fontcolor|}}}|<span style="color:{{{fontcolor}}};">e</span>|e}}] &middot; [[Template Talk:{{{1}}}|{{#if:{{{fontcolor|}}}|<span style="color:{{{fontcolor}}};">d</span>|d}}]]</span></includeonly></onlyinclude>
<onlyinclude><includeonly><span style="float:left; {{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}" class="tnav {{#if: {{{class|}}} | {{{class}}}}}"> [[Template:{{{1}}}|{{#if:{{{fontcolor|}}}|<span style="color:{{{fontcolor}}};">v</span>|v}}]] &middot; <span class="plainlinks">[{{fullurl:Template:{{{1}}}|action=edit}} {{#if:{{{fontcolor|}}}|<span style="color:{{{fontcolor}}};">e</span>|e}}]</span> &middot; [[Template Talk:{{{1}}}|{{#if:{{{fontcolor|}}}|<span style="color:{{{fontcolor}}};">d</span>|d}}]]</span></includeonly></onlyinclude>

Revision as of 10:21, 21 October 2010

Use

{{tnav|template name (without Template: part, example 'DQI')}}
{{tnav|template name|fontcolor=color name or color hexcode}}