Template:For

From The Reed and Rite
Revision as of 21:13, 19 March 2025 by TheRoman (talk | contribs)

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.

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:


Usage Examples

  • Note: The examples below show each parameter separated by a line break. A simple space on either side of the vertical bar (|) will also work. The line breaks are an aid for demonstration purposes.
Parameter Code Output
1 When one unnamed parameter is passed, the template will provide a link to the page defined; preceded by the text: "For more information,".
{{for|St. Crispian's}}
2 When a second unnamed parameter is passed, it will replace the text "more information" in the output.
{{for
|St. Crispian's
|details on Whereabouts Lane
}}
3 When a third unnamed parameter is passed, it will replace the linked text.
{{for
|St. Crispian's#History
|the history of St. Crispian's
|this page}}
pre= This is a test of a span description.
{{for|St. Crispian's|more on Whereabouts Lane|St. Crispian's}}
post= This is a test of a span description.
{{for|St. Crispian's|more on Whereabouts Lane|St. Crispian's}}
All This is a test of a span description.
{{for|St. Crispian's|more on Whereabouts Lane|St. Crispian's}}


Parameter Description Code Output
1 When one unnamed parameter is passed, the template will provide a link to the page defined; preceded by the text: "For more information,".
{{for|St. Crispian's}}
Caption File name and caption are passed.
{{Image|Pen.png|This is a caption}}
This is a caption
artist= Specifies the artist's name for the image.
{{Image|Pen.png|This is a caption|artist=Declan Lion}}
This is a caption
Alignment Parameters
side=left Pushes the image over to the left, allowing text to flow around it.
{{Image|Pen.png|This is a caption|side=left}}
This is a caption
side=right Pushes the image over to the right, allowing text to flow around it.
{{Image|Pen.png|This is a caption|side=right}}
This is a caption
Resizing Parameters
height= Sets the height of the image. If set, the width will adjust automatically to maintain aspect ratio.
{{Image|Pen.png|This is a caption|height=150px}}
This is a caption
width= Sets the width of the image. If set, the height will adjust automatically to maintain aspect ratio.
{{Image|Pen.png|This is a caption|width=200px}}
This is a caption
Link Parameters
link=
(Internal)
Makes the image clickable, linking it to a specific internal URL.
{{Image|Pen.png|Click here for more details on [[Emma M. Lion]]|link=Emma M. Lion}}
Click here for more details on Emma M. Lion
link=
(External)
Makes the image clickable, linking it to a specific external URL.
{{Image|Pen.png|Click here for more details on [https://www.bethbrower.com Beth Brower]|link=https://www.bethbrower.com}}
Click here for more details on Beth Brower

Articles Using Template