Template:For: Difference between revisions

mNo edit summary
mNo edit summary
Line 54: Line 54:
|-
|-
| <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}}
|}
<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 ==