Template:For: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 4: | Line 4: | ||
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: | 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: | ||
{{for|St. Crispian's|more on Whereabouts Lane| | {{for|St. Crispian's|more on Whereabouts Lane|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: | 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: | ||
| Line 11: | Line 11: | ||
{| 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: 10%;" | Parameter !! style="width: 20%;" | Code !! style="width: 70%;" | Example | ||
|- | |- | ||
| style="text-align: center;" | '''''Caption''''' || <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;" | | | colspan="3" style="text-align: center;" | This is a test of a span description. | ||
|- | |- | ||
| style="text-align: center;" | | | 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}} | ||
|- | |- | ||
| style="text-align: center;" | <code> | | 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}} | ||
|- | |- | ||
| 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}} | |||
|- | |- | ||
| style="text-align: center;" | <code> | | 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}} | ||
|- | |- | ||
| style="text-align: center;" | <code> | | 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}} | ||
|- | |- | ||
| 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}} | |||
|- | |- | ||
| 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}} | |||
| style="text-align: center;" | <code>link=</code> <br>'''(External)''' | |||
|} | |} | ||
== Articles | == 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="navaid">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}} | ||
Revision as of 03:52, 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 | {{for|St. Crispian's|more on Whereabouts Lane|St. Crispian's}} |
|
| This is a test of a span description. | ||
artist= |
{{Image|Pen.png|This is a caption|artist=Declan Lion}} |
|
side=left |
{{Image|Pen.png|This is a caption|side=left}} |
|
side=right |
{{Image|Pen.png|This is a caption|side=right}} |
|
height= |
{{Image|Pen.png|This is a caption|height=150px}} |
|
width= |
{{Image|Pen.png|This is a caption|width=200px}} |
|
link= (Internal) |
{{Image|Pen.png|Click here for more details on [[Emma M. Lion]]|link=Emma M. Lion}} |
|
link= (External) |
{{Image|Pen.png|Click here for more details on [https://www.bethbrower.com Beth Brower]|link=https://www.bethbrower.com}} |
|
Articles Using Template
- The Unselected Journals of Emma M. Lion: Volume 1 (transclusion) (← links | edit)
- Lapis Lazuli (transclusion) (← links | edit)
- The St. Crispian's Gazette (transclusion) (← links | edit)


