Fallout中文維基
(新頁面: <div class="notice metadata toccolours" id="disambig" style="padding:3px 5px; margin:0.5em 0; clear:both; font-size:90%;">{{#ifeq:{{{intro|{{{Intro|none}}}}}}|none||{{{intro|{{{Intro}}}}}…)
 
 
(未显示同一用户的7个中间版本)
第1行: 第1行:
  +
<onlyinclude><!--
<div class="notice metadata toccolours" id="disambig" style="padding:3px 5px; margin:0.5em 0; clear:both; font-size:90%;">{{#ifeq:{{{intro|{{{Intro|none}}}}}}|none||{{{intro|{{{Intro}}}}}}&nbsp;}}For {{{1}}}, see [[:{{{2}}}]].{{#ifeq:{{{3|empty}}}|empty||&nbsp;For {{{3}}}, see [[:{{{4}}}]].}}{{#ifeq:{{{5|empty}}}|empty||&nbsp;For {{{5}}}, see [[:{{{6}}}]].}}</div><noinclude>
 
==Usage==
 
<pre>{{for|first alternative|page name|second alternative|second page name|third alternative|third page name}}
 
   
  +
-->{{directionbox<!--
Optional:
 
  +
-->|text =<!--
|intro=Appears in front of first "For, see" sentence.
 
  +
-->{{#if:{{{redirect|}}}|"{{ucfirst:{{{redirect|}}}}}" 重定向至此。&#032;}}<!--
</pre>
 
  +
-->{{#if:{{{about|}}}|本文介紹的是{{{about|}}}.&#032;}}<!--
  +
-->關於{{{1}}},參見[[:{{{2}}}|{{#if:{{{t1|}}}|{{{t1}}}|{{{2}}}}}]]。<!--
  +
-->{{#if:{{{3|}}}|<br/>關於{{{3}}},參見[[:{{{4}}}|{{#if:{{{t2|}}}|{{{t2}}}|{{{4}}}}}]]。}}<!--
  +
-->{{#if:{{{5|}}}|<br/>關於{{{5}}},參見[[:{{{6}}}|{{#if:{{{t3|}}}|{{{t3}}}|{{{6}}}}}]]。}}<!--
  +
-->}}<!--
   
  +
--></onlyinclude>
[[Category:Navigation templates|{{PAGENAME}}]]
 
  +
  +
{{Documentation}}
 
[[Category:导航模板|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

2011年10月24日 (一) 23:50的最新版本

關於{{{1}}},參見[[:{{{2}}}|{{{2}}}]]。
Template documentation (for the template shown above, sometimes hidden or invisible)

Template for listing pages which could also be covered by the current article's name.

Based on {{directionbox}}.

Usage

Place the following at the very top of the page:

{{for|description|page name}}

Parameters

Sometimes required or at least one required
<unnamed 1>, <unnamed 3>, <unnamed 5>
Description of article(s) with similar name. <unnamed 1> is the description for the article specified with <unnamed 2> etc.
Sometimes required or at least one required
<unnamed 2>, <unnamed 4>, <unnamed 6>
Name of article with similar name.
Optional
about
Inserts "This page is about about" text before the first "for, see" sentence (and behind the redirect text if present).
Optional
redirect
Inserts "redirect redirects here" text at the beginning.
Optional
t1 up to t3
Alternate display text for the corresponding "for, see" sentence. For example, t2 changes the display text for <unnamed 4>.
Documentation transcluded from Template:For/doc.