Template:User: Difference between revisions
| Line 76: | Line 76: | ||
! Parameter !! Description | ! Parameter !! Description | ||
|- | |- | ||
| style="text-align: center;" | <code>name</code> || Name is automatically passed based on the | | style="text-align: center;" | <code>name</code> || Name is automatically passed based on the page it is used on. | ||
|- | |- | ||
| style="text-align: center;" | <code>image</code> || Filename of the image (e.g., `File:Example.jpg`). | | style="text-align: center;" | <code>image</code> || Filename of the image (e.g., `File:Example.jpg`). | ||
Revision as of 02:34, 21 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.
}}
|
| ||||||||||||||||||
Parameters
| Parameter | Description |
|---|---|
name |
Name is automatically passed based on the page it is used on. |
image |
Filename of the image (e.g., `File:Example.jpg`). |
caption |
Caption for the image. |
location |
The country/state the user is located in. Use with caution. |
date_joined |
The date the user joined the wiki. |
| Edit Count | This parameter is automatically called. Displays the number of edits that user has made wiki wide, linking to the corresponding page on Special:EditCount. |
social_media |
Link to user's social media. Call by using an External Link. |
wiki_links |
Use to link to other wiki pages for quick reference. Use double brackets [[ and ]] for each wiki page (e.g., [[Main Page]]) and <br> between each link.
|
td1=, td2=, td3=, etc. |
To-do list, up to ten items. |
Pages Using Template
- User:TheRoman (transclusion) (← links | edit)
