Template:User: Difference between revisions

From The Reed and Rite
mNo edit summary
Line 70: Line 70:
|td3= Use <code>tdX=</code>, where "<code>X</code>" is a number 1–10.
|td3= Use <code>tdX=</code>, where "<code>X</code>" is a number 1–10.
}}
}}
|}
=== Parameters ===
{| class="wikitable" style="width: 70%;"
! Parameter !! Description
|-
| style="text-align: center;" | <code>name</code> || Name is automatically passed
|-
| style="text-align: center;" | <code>image</code> || Filename of the image (e.g., `File:Example.jpg`).
|-
| style="text-align: center;" | <code>caption</code> || Caption for the image.
|-
| style="text-align: center;" | <code>book</code> || What book the location is from. Use abbreviation(s) from [[:Template:B]].
|-
| style="text-align: center;" | <code>series</code> || What series the location is from. Use abbreviation(s) from [[:Template:B]].
|-
| style="text-align: center;" | <code>location</code> || Where it is located, if applicable.
|-
| style="text-align: center;" | <code>city</code> || The city it is located in, if applicable.
|-
| style="text-align: center;" | <code>county</code> || The county it is located in, if applicable.
|-
| style="text-align: center;" | <code>region</code> || The region it is located in, if applicable.
|-
| style="text-align: center;" | <code>country</code> || The country it is located in, if applicable.
|-
| style="text-align: center;" | <code>established</code> || The year it was established, if applicable.
|-
| style="text-align: center;" | <code>founder</code> || The name of the founder, if applicable.
|-
| style="text-align: center;" | <code>function</code> || It's primary function, if applicable. (i.e., Bookshop, Bakery, Tea House, etc.)
|-
| style="text-align: center;" | <code>nr1=</code>, <code>nr2=</code>, <code>nr3=</code>, etc. || Notable Residents, up to five names. (If applicable.) Use double brackets around the name (e.g., <code><nowiki>[[Emma M. Lion]]</nowiki></code>) to link to that character's page.
|-
| style="text-align: center;" | <code>first_mentioned</code> || Where the location was first mentioned (e.g., book, chapter, etc.).
|}
|}



Revision as of 22:19, 20 April 2025

Description

This template should be used on user pages to add an infobox in the upper right hand corner of the page.

Usage

The template has several parameters that can be used.

Note: Only fields that are provided will appear in the infobox. Not all parameters are required for each location.
You Type You Get
{{user
|image=FILENAME.EXTENSION
|caption=Caption Here
|location=Country/State of your Location
|date_joined=Date you joined the wiki.
|social_media = [https://www.example.com DISPLAYTEXT]
|wiki_links=[[Main Page]]<br>[[:Help:Contents]]
|td1=Displays a to-do list.
|td2=Up to ten items.
|td3= Use <code>tdX=</code>, where "<code>X</code>" is a number 1–10.
}}

User
Caption Here
Caption Here
Caption Here
LocationCountry/State of your Location
Date JoinedDate you joined the wiki.
Edit Count0
Social MediaDISPLAYTEXT
Wiki LinksMain Page
Help:Contents
To-do List• Displays a to-do list.
• Up to ten items.
• Use tdX=, where "X" is a number 1–10.

Parameters

Parameter Description
name Name is automatically passed
image Filename of the image (e.g., `File:Example.jpg`).
caption Caption for the image.
book What book the location is from. Use abbreviation(s) from Template:B.
series What series the location is from. Use abbreviation(s) from Template:B.
location Where it is located, if applicable.
city The city it is located in, if applicable.
county The county it is located in, if applicable.
region The region it is located in, if applicable.
country The country it is located in, if applicable.
established The year it was established, if applicable.
founder The name of the founder, if applicable.
function It's primary function, if applicable. (i.e., Bookshop, Bakery, Tea House, etc.)
nr1=, nr2=, nr3=, etc. Notable Residents, up to five names. (If applicable.) Use double brackets around the name (e.g., [[Emma M. Lion]]) to link to that character's page.
first_mentioned Where the location was first mentioned (e.g., book, chapter, etc.).

Pages Using Template