Fandom


(1 版)
 
7行: 7行:
 
|}
 
|}
 
|- class="nb2-end" style="background: {{{2|#D8E9FC}}};"
 
|- class="nb2-end" style="background: {{{2|#D8E9FC}}};"
| style="padding-bottom:0;" |<span class="hidable-button"></span> {{#if:{{{edit|}}}|{{<includeonly>subst:</includeonly>edi|{{<includeonly>subst:</includeonly>PAGENAME}}}}|}}
+
| style="padding-bottom:0;" |<span class="hidable-button"></span> {{{{{|safesubst:}}}#if:{{{edit|}}}|{{{{{|safesubst:}}}edi|{{{edit}}}}}|}}
 
|-
 
|-
 
| {{rb|{{{2|#D8E9FC}}}}}
 
| {{rb|{{{2|#D8E9FC}}}}}
13行: 13行:
 
{{clear}}
 
{{clear}}
 
==Notes==
 
==Notes==
This template is one in a series of modular source templates meant to be used to generate navigation templates. It is meant to be [[m:Help:substitution|substituted]] and will not work properly if 'subst:' is not present in the template call.
+
This template is one in a series of modular source templates meant to be used to generate navigation templates.
   
 
==Usage instructions==
 
==Usage instructions==
70行: 70行:
 
|}</div><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. -->
 
|}</div><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. -->
   
[[Category:Utility templates|{{PAGENAME}}]]</noinclude>
+
[[Category:Navbox utility templates|{{PAGENAME}}]]</noinclude>

2015年6月24日 (水) 20:55に更新

Notes編集

This template is one in a series of modular source templates meant to be used to generate navigation templates.

Usage instructions編集

{{subst:ne}}

NOTE: An optional edit variable can be used to add an edit link.

{{subst:ne|edit=true}}

Navigation source templates編集

Example編集

Code編集

{{subst:ns|Navigation template test}}
{{subst:nh|Heading 1}}
{{subst:nt|blah blah blah blah blah}}
{{subst:nh|Heading 2}}
{{subst:nt|blah blah blah blah blah blah blah blah blah blah}}
{{subst:ne|edit=true}}

Result編集

Navigation template test
Heading 1
blah blah blah blah blah
Heading 2
blah blah blah blah blah blah blah blah blah blah
[edit]
特に記載のない限り、コミュニティのコンテンツはCC-BY-SA ライセンスの下で利用可能です。