|
|
| (11 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| <includeonly><div class=navigation>{{#if:{{{pre|}}}|{{{pre}}}. }}''For {{{2|more information}}}, see [[{{{1}}}|{{{3|{{{1}}}|}}}]].{{#if:{{{post|}}}| {{{post}}}|}}''</div></includeonly> | | <includeonly><div class=navigation>{{#if:{{{pre|}}}|{{{pre}}}. }}''For {{{2|more information}}}, see [[{{{1}}}|{{{3|{{{1}}}|}}}]].{{#if:{{{post|}}}| {{{post}}}|}}''</div></includeonly><noinclude> |
| <noinclude>This template should be used when the need arises to provide a link on a similar or related topic. This is also to help prevent confusion when articles have similar names by providing a manual re-direct link. | | == Description == |
| | This template should be used when the need arises to provide a link to a similar or related topic. This is also to help prevent confusion when articles have similar names by providing a manual re-direct link. |
|
| |
|
| It generally takes one unnamed parameter, <code>{{{1}}}</code>, as input. By default, it returns "For more information, see <code>{{{1}}}</code>", where <code>{{{1}}}</code> is a link to the referenced article. A second unnamed parameter will replace "more information" and a third will replace the text which refers to the linked article. For example, <code><nowiki>{{for|St. Crispian's|more on Whereabouts Lane|this St. Crispian's}}</nowiki></code> produces:
| | == Usage == |
| {{for|St. Crispian's|more on Whereabouts Lane}}
| | :* '''Note:''' The examples below show each parameter separated by a line break for demonstration purposes only. For use in articles, please separate parameters with only a vertical bar (<code>|</code>). |
| {{for|St. Crispian's}}
| |
| | |
| The template is intended to be brief, but additional optional parameters <code>|pre=</code> and <code>|post=</code> allow you to add additional explanatory text at the beginning or end of the displayed text, if necessary. For example, <code><nowiki>{{for|Emma M. Lion#Family|Emma M. Lion the first|pre="Emma M. Lion" redirects here}}</nowiki></code> produces:
| |
| {{for|Emma M. Lion#Family|Emma M. Lion the first|pre="Emma M. Lion" redirects here}}
| |
| {{for|Summary:The Unselected Journals of Emma M. Lion: Volume 1#1 April 1883|Emma M. Lion the first|pre="Emma M. Lion" redirects here|3=Emma M. Lion}}
| |
| | |
| | |
| == Usage Examples == | |
| :* '''Note:''' The examples below show each parameter separated by a line break. A simple space on either side of the vertical bar (<code>|</code>) will also work. The line breaks are an aid for demonstration purposes. | |
| {| style="width: 100%; text-align: left; margin: auto;" class="wikitable" | | {| style="width: 100%; text-align: left; margin: auto;" class="wikitable" |
| |- class="title" | | |- class="title" |
| Line 18: |
Line 10: |
| |- | | |- |
| | rowspan="2" style="text-align: center;" | '''1''' | | | rowspan="2" style="text-align: center;" | '''1''' |
| | colspan="2" style="text-align: center;" | When one unnamed parameter is passed, the template will provide a link to the page defined; preceded by the text: "''For more information,''".
| | ! colspan="2" style="text-align: center;" | When one unnamed parameter is passed, the template will provide a link to the page defined; preceded by the text: "''For more information,''". |
| |-
| |
| | <pre>{{for|St. Crispian's}}</pre> || style="text-align: center;" | {{for|St. Crispian's}}
| |
| |- | | |- |
| ! colspan="3" |
| | | <pre>{{for |St. Crispian's }}</pre> || style="text-align: center;" | {{for|St. Crispian's}} |
| |- | | |- |
| | rowspan="2" style="text-align: center;" | '''2''' | | | rowspan="2" style="text-align: center;" | '''2''' |
| | colspan="2" style="text-align: center;" | When a second unnamed parameter is passed, it will replace the text "more information" in the output.
| | ! colspan="2" style="text-align: center;" | When a second unnamed parameter is passed, it will replace the text "more information" in the output. |
| |- | | |- |
| | <pre>{{for | | | <pre>{{for |
| Line 33: |
Line 23: |
| |- | | |- |
| | rowspan="2" style="text-align: center;" | '''3''' | | | rowspan="2" style="text-align: center;" | '''3''' |
| | colspan="2" style="text-align: center;" | When a third unnamed parameter is passed, it will replace the linked text.
| | ! colspan="2" style="text-align: center;" | When a third unnamed parameter is passed, it will replace the linked text. |
| |- | | |- |
| | <pre>{{for | | | <pre>{{for |
| |St. Crispian's#History | | |St. Crispian's#History |
| |the history of St. Crispian's | | |the history of St. Crispian's |
| |this page}}</pre> || style="text-align: center;" | {{for|St. Crispian's#History|the history of St. Crispian's|this page}} | | |History}}</pre> || style="text-align: center;" | {{for|St. Crispian's#History|the history of St. Crispian's|History}} |
| |- | | |- |
| | rowspan="2" style="text-align: center;" | <code>pre=</code> | | | rowspan="2" style="text-align: center;" | <code>pre=</code> |
| | colspan="2" style="text-align: center;" | This is a test of a span description.
| | ! colspan="2" style="text-align: center;" | When the named parameter <code>pre=TEXT</code> is passed, additional text is added at the beginning of the output. |
| |- | | |- |
| | <pre>{{for|St. Crispian's|more on Whereabouts Lane|St. Crispian's}}</pre> || style="text-align: center;" | {{for|St. Crispian's|more on Whereabouts Lane|St. Crispian's}} | | | <pre>{{for |
| | |Lapis Lazuli#Lapis Lazuli Minor |
| | |more on Lapis Lazuli Minor |
| | |here |
| | |pre=This page is on Lapis Lazuli House}}</pre> || style="text-align: center;" | {{for |Lapis Lazuli#Lapis Lazuli Minor |more on Lapis Lazuli Minor|here| pre=This page is on Lapis Lazuli House}} |
| |- | | |- |
| | rowspan="2" style="text-align: center;" | <code>post=</code> | | | rowspan="2" style="text-align: center;" | <code>post=</code> |
| | colspan="2" style="text-align: center;" | This is a test of a span description.
| | ! colspan="2" style="text-align: center;" | When the named parameter <code>post=TEXT</code> is passed, additional text is added at the end of the output. |
| |- | | |- |
| | <pre>{{for|St. Crispian's|more on Whereabouts Lane|St. Crispian's}}</pre> || style="text-align: center;" | {{for|St. Crispian's|more on Whereabouts Lane|St. Crispian's}} | | | <pre>{{for |
| |- | | |Lapis Lazuli#Lapis Lazuli Minor |
| | rowspan="2" style="text-align: center;" | '''All'''
| | |more on Lapis Lazuli Minor |
| | colspan="2" style="text-align: center;" | This is a test of a span description. | | |here |
| |-
| | |post=This page is dedicated to Lapis Lazuli House}}</pre> || style="text-align: center;" | {{for |Lapis Lazuli#Lapis Lazuli Minor |more on Lapis Lazuli Minor|here| post=This page is dedicated to Lapis Lazuli House}} |
| | <pre>{{for|St. Crispian's|more on Whereabouts Lane|St. Crispian's}}</pre> || style="text-align: center;" | {{for|St. Crispian's|more on Whereabouts Lane|St. Crispian's}}
| |
| |} | | |} |
|
| |
|
| <br>
| |
| {| style="width: 100%; text-align: left; margin: auto;" class="wikitable"
| |
| |- class="title"
| |
| ! style="width: 10%;" | Parameter !! style="width: 20%;" | Description !! style="width: 25%;" | Code !! style="width: 45%;" | Output
| |
| |-
| |
| | style="text-align: center;" | '''1''' || When one unnamed parameter is passed, the template will provide a link to the page defined; preceded by the text: "''For more information,''". || <pre>{{for|St. Crispian's}}</pre> || {{for|St. Crispian's}}
| |
| |-
| |
| | style="text-align: center;" | '''''Caption''''' || File name and caption are passed. || <pre>{{Image|Pen.png|This is a caption}}</pre> || {{Image|Pen.png|This is a caption}}
| |
| |-
| |
| | style="text-align: center;" | <code>artist=</code> || Specifies the artist's name for the image. || <pre>{{Image|Pen.png|This is a caption|artist=Declan Lion}}</pre> || {{Image|Pen.png|This is a caption|artist=Declan Lion}}
| |
| |-
| |
| ! colspan="4" style="text-align: center;" | Alignment Parameters
| |
| |-
| |
| | style="text-align: center;" | <code>side=left</code> || Pushes the image over to the left, allowing text to flow around it. || <pre>{{Image|Pen.png|This is a caption|side=left}}</pre> || {{Image|Pen.png|This is a caption|side=left}}
| |
| |-
| |
| | style="text-align: center;" | <code>side=right</code> || Pushes the image over to the right, allowing text to flow around it. || <pre>{{Image|Pen.png|This is a caption|side=right}}</pre> || {{Image|Pen.png|This is a caption|side=right}}
| |
| |-
| |
| ! colspan="4" style="text-align: center;" | Resizing Parameters
| |
| |-
| |
| | style="text-align: center;" | <code>height=</code> || Sets the height of the image. If set, the width will adjust automatically to maintain aspect ratio. || <pre>{{Image|Pen.png|This is a caption|height=150px}}</pre> || {{Image|Pen.png|This is a caption|height=150px}}
| |
| |-
| |
| | style="text-align: center;" | <code>width=</code> || Sets the width of the image. If set, the height will adjust automatically to maintain aspect ratio. || <pre>{{Image|Pen.png|This is a caption|width=200px}}</pre> || {{Image|Pen.png|This is a caption|width=200px}}
| |
| |-
| |
| ! colspan="4" style="text-align: center;" | Link Parameters
| |
| |-
| |
| | style="text-align: center;" | <code>link=</code> <br>'''(Internal)'''|| Makes the image clickable, linking it to a specific internal URL. || <pre>{{Image|Pen.png|Click here for more details on [[Emma M. Lion]]|link=Emma M. Lion}}</pre> || {{Image|Pen.png|Click here for more details on [[Emma M. Lion]]|link=Emma M. Lion}}
| |
| |-
| |
| | style="text-align: center;" | <code>link=</code> <br>'''(External)''' || Makes the image clickable, linking it to a specific external URL. || <pre>{{Image|Pen.png|Click here for more details on [https://www.bethbrower.com Beth Brower]|link=https://www.bethbrower.com}}</pre> || {{Image|Pen.png|Click here for more details on [https://www.bethbrower.com Beth Brower]|link=https://www.bethbrower.com}}
| |
| |}
| |
| == Articles Using Template == | | == Articles Using Template == |
| <div class="navaid">This list is limited to 100 articles. For a full listing see [[Special: WhatLinksHere/{{FULLPAGENAME}}|here]].</div> | | <div class="navigation">This list is limited to 100 articles. For a full listing see [[Special: WhatLinksHere/{{FULLPAGENAME}}|here]].</div> |
| {{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}} | | {{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}} |
|
| |
|
| [[Category:Navigation]] | | [[Category:Navigation]] |
| [[Category:Templates]]
| |