Template:For: Difference between revisions

From The Reed and Rite
mNo edit summary
mNo edit summary
Line 14: Line 14:
{| style="width: 100%; text-align: left; margin: auto;" class="wikitable"
{| style="width: 100%; text-align: left; margin: auto;" class="wikitable"
|- class="title"
|- class="title"
! style="width: 10%;" | Parameter !! style="width: 20%;" | Code !! style="width: 70%;" | Example
! style="width: 10%;" | Parameter !! style="width: 25%;" | Code !! style="width: 65%;" | Example
|-
|-
| rowspan="2" style="text-align: center;" | '''Caption'''
| rowspan="2" style="text-align: center;" | '''Caption'''
Line 21: Line 21:
| <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|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}}
|-
|-
| style="text-align: center;" | <code>artist=</code> || <pre>{{Image|Pen.png|This is a caption|artist=Declan Lion}}</pre> || {{Image|Pen.png|This is a caption|artist=Declan Lion}}
| rowspan="2" style="text-align: center;" | '''Caption'''
| colspan="2" style="text-align: center;" | This is a test of a span description.
|-
| <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}}
|-
| rowspan="2" style="text-align: center;" | '''Caption'''
| colspan="2" style="text-align: center;" | This is a test of a span description.
|-
| <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}}
|-
|-
| style="text-align: center;" | <code>side=left</code> || <pre>{{Image|Pen.png|This is a caption|side=left}}</pre> || {{Image|Pen.png|This is a caption|side=left}}
| rowspan="2" style="text-align: center;" | '''Caption'''
| colspan="2" style="text-align: center;" | This is a test of a span description.
|-
|-
| style="text-align: center;" |  <code>side=right</code> || <pre>{{Image|Pen.png|This is a caption|side=right}}</pre> || {{Image|Pen.png|This is a caption|side=right}}
| <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}}
|-
|-
| style="text-align: center;" | <code>height=</code> || <pre>{{Image|Pen.png|This is a caption|height=150px}}</pre> || {{Image|Pen.png|This is a caption|height=150px}}
| rowspan="2" style="text-align: center;" | '''Caption'''
| colspan="2" style="text-align: center;" | This is a test of a span description.
|-
|-
| style="text-align: center;" |  <code>width=</code> || <pre>{{Image|Pen.png|This is a caption|width=200px}}</pre> || {{Image|Pen.png|This is a caption|width=200px}}
| <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}}
|-
|-
| style="text-align: center;" | <code>link=</code> <br>'''(Internal)'''|| <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}}
| rowspan="2" style="text-align: center;" | '''Caption'''
| colspan="2" style="text-align: center;" | This is a test of a span description.
|-
|-
| style="text-align: center;" |  <code>link=</code> <br>'''(External)''' || <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}}
| <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}}
|}
|}
== Articles Using Template ==
== Articles Using Template ==

Revision as of 16:41, 19 March 2025


Use this template when you have a similar topic that should be prominently linked to another article, either for more information or to avoid confusion between similarly-named articles.

It generally takes one unnamed parameter, {{{1}}}, as input. By default, it returns "For more information, see {{{1}}}", where {{{1}}} 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, {{for|St. Crispian's|more on Whereabouts Lane|this St. Crispian's}} produces:

The template is intended to be brief, but additional optional parameters |pre= and |post= allow you to add additional explanatory text at the beginning or end of the displayed text, if necessary. For example, {{for|Emma M. Lion#Family|Emma M. Lion the first|pre="Emma M. Lion" redirects here}} produces:


Parameter Code Example
Caption This is a test of a span description.
{{for|St. Crispian's|more on Whereabouts Lane|St. Crispian's}}
Caption This is a test of a span description.
{{for|St. Crispian's|more on Whereabouts Lane|St. Crispian's}}
Caption This is a test of a span description.
{{for|St. Crispian's|more on Whereabouts Lane|St. Crispian's}}
Caption This is a test of a span description.
{{for|St. Crispian's|more on Whereabouts Lane|St. Crispian's}}
Caption This is a test of a span description.
{{for|St. Crispian's|more on Whereabouts Lane|St. Crispian's}}
Caption This is a test of a span description.
{{for|St. Crispian's|more on Whereabouts Lane|St. Crispian's}}

Articles Using Template