Editing Template:For

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
:''For {{{1}}}, see {{{2}}}.''<noinclude>
{{#vardefine:text|<!-- start vd
;Description
     
:This template is used to link to alternate pages bearing a similar title to the current page, or to link to a closely associated page.
  -->{{#if:{{{3|}}}<!-- if more than one page
;Syntax
     
:Type {{t|For|similarthing|pagename}} at the top of a page.
      -->|[[{{{2}}}]]{{#if:{{{4|}}}<!-- start concat if
[[Category:General templates]]</noinclude>
       
        -->|, [[{{{3}}}]] and [[{{{4}}}]]<!-- concat two
           
        -->|<nowiki> </nowiki>and [[{{{3}}}]]<!-- else; concat one
           
      -->}}<!-- end concat if
       
      -->|[[{{{2}}}]]<!-- else; one page only
       
  -->}}<!-- end if
     
-->}}<!-- end vd
 
-->{{Hatnote|<!--
 
  -->For {{{1}}}, see {{#var:text}}.<!--
 
-->}}<noinclude><templatedata>
{
"params": {
"1": {
"label": "Topic",
"description": "The topic the following pages are about.",
"example": "more information",
"type": "line",
"required": true
},
"2": {
"label": "Related Page",
"description": "A related page.",
"example": "Related Page",
"type": "wiki-page-name",
"required": true
},
"3": {
"label": "Second Page",
"description": "A second related page.",
"example": "Second Related Page",
"type": "wiki-page-name"
},
"4": {
"label": "Third Page",
"description": "A third related page.",
"example": "Third Related Page",
"type": "wiki-page-name"
}
},
"description": "This hatnote template is meant to be used to show pages related to a topic the reader might want to visit.",
"paramOrder": [
"1",
"2",
"3",
"4"
],
"format": "inline"
}
</templatedata>
 
== Examples ==
{| class="wikitable"
! Code !! Result
|-
| <code><nowiki>{{For|more information|Special:WantedPages}}</nowiki></code> || {{For|more information|Special:WantedPages}}
|-
| <code><nowiki>{{For|more information|Special:WantedPages|Special:UncategorizedPages}}</nowiki></code> || {{For|more information|Special:WantedPages|Special:UncategorizedPages}}
|-
| <code><nowiki>{{For|more information|Special:WantedPages|Special:UncategorizedPages|Special:UncategorizedCategories}}</nowiki></code> || {{For|more information|Special:WantedPages|Special:UncategorizedPages|Special:UncategorizedCategories}}
|-
| <code><nowiki>{{For|more information|Special:WantedPages{{!}}Page 1}}</nowiki></code> (Custom link label) || {{For|more information|Special:WantedPages{{!}}Page 1}}
|}
 
== Dependencies ==
For this template to work properly, you need the following:
* The {{tl|Hatnote}} base template.
* The <code>.hatnote</code> class, found in [[MediaWiki:Common.css]].
 
== Source ==
Roughly based on [[wikipedia:Template:For|Wikipedia's For Template]].
[[Category:Default templates]]</noinclude>
Please note that all contributions to Geometry Dash Expanded Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Geometry Dash Expanded Wiki:Copyrights for details). Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)

Page included on this page: