ページ「テンプレート:Main other」と「テンプレート:Mbox」の間の差分

提供: MonoBook
(ページ間の差分)
ナビゲーションに移動 検索に移動
imported>Administrator
(ページの作成:「{{#switch: <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{lc: {{{demospace}}} }} <!--Use lower case "demospace"-...」)
 
imported>Administrator
(ページの作成:「{{ {{namespace detect | demospace = {{{demospace|}}} | main = ambox | talk = tmbox | file = imbox | category = cmbox | other = ombox ...」)
 
1行目: 1行目:
{{#switch:
+
{{
   <!--If no or empty "demospace" parameter then detect namespace-->
+
   {{namespace detect  
   {{#if:{{{demospace|}}}  
+
   | demospace = {{{demospace|}}}
   | {{lc: {{{demospace}}} }}    <!--Use lower case "demospace"-->
+
   | main      = ambox
   | {{#ifeq:{{NAMESPACE}}|{{ns:0}}
+
   | talk      = tmbox
    | main
+
  | file      = imbox
    | other
+
  | category  = cmbox
     }}
+
  | other    = ombox
 
   }}
 
   }}
| main    = {{{1|}}}
+
| type      = {{{type|}}}
| other
+
| image      = {{{image|}}}
| #default = {{{2|}}}
+
| image-file = {{{image-file|}}}
}}<!--End switch--><noinclude>
+
| image-size = {{{image-size|}}}
 +
| imageright = {{{imageright|}}}
 +
| imageright-file = {{{imageright-file|}}}
 +
| imageright-size = {{{imageright-size|}}}
 +
| style      = {{{style|}}}
 +
| textstyle  = {{{textstyle|}}}
 +
| text      = {{{text}}}
 +
| small      = {{{small|}}}
 +
| smallimage = {{{smallimage|}}}
 +
| smallimage-file = {{{smallimage-file|}}}
 +
| smallimage-size = {{{smallimage-size|}}}
 +
| smallimageright = {{{smallimageright|}}}
 +
| smallimageright-file = {{{smallimageright-file|}}}
 +
| smallimageright-size = {{{smallimageright-size|}}}
 +
| smalltext  = {{{smalltext|}}}
 +
| section    = {{{section|}}}
 +
| image-size-section = {{{imageright-size-section|{{{image-size-section|}}}}}}
 +
| text-section = {{{text-section|{{{text}}}}}}
 +
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 +
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

2013年9月25日 (水) 04:52時点における最新版

[作成]ファイル:Template-info.svg テンプレートの解説
このテンプレートには、サンドボックステストケースもありません。(解説