Template:Infobox User/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
 
(5 intermediate revisions by 2 users not shown)
Line 15: Line 15:


== Simple usage==
== Simple usage==
If you just want to use this one out of the box, cut and paste the following code onto your user page:
If you just want to use this one out of the box, cut and paste the following code onto [[Special:MyPage|your user page]], fill it in and remove any unused fields:
<pre style=border-radius:10px!important>
<pre style=border-radius:10px!important>
{{Infobox User
{{Infobox User
|image              =
|image              =
|user name          =
|image2              =
|name                =
|name                =
|edit count          =
|aka                =
|pronouns            =
|age                =
|age                =
|affiliation        =
|affiliation        =
Line 29: Line 32:
|fav episode        =
|fav episode        =
|fav season          =
|fav season          =
|fav vid            =
|languages          =
|languages          =
|discord            =
|website            =
|twitter            =
|tumblr              =
|clip                =
|clip2              =
|clip3              =
}}</pre>
}}</pre>
Note that {{tt|name}} means your real name, or whatever name you want to give. We don't actually recommend the use of real names, but if you want to put it, {{tt|name}} is where it goes. The other name field, {{tt|user name}}, is typically not necessary, as this infobox automatically captures and uses the pagename on which it's placed.
Note that {{tt|name}} automatically defaults to your username and so isn't usually necassary. We don't recommend the use of real names, but if you want to put it, {{tt|aka}} is where it goes, along with any other aliases.  
 
The {{tt|edit count}} field can be set to any value (e.g. "{{tt|true}}" or "{{tt|yes}}") to display your edit count below your name.
 
The {{tt|discord}} field should just contain the username of your personal account (not an account used primarily for a company, series or brand), if used. The {{tt|website}}, {{tt|twitter}} and {{tt|tumblr}} fields are for linking to your own personal social media accounts and websites. Please don't use these to link to accounts and websites used primarily for a company, series or brand.
 
The fields {{tt|clip}} through to {{tt|clip3}} are for displaying your favourite videos from the [[Doctor Who universe|''Doctor Who'' universe]].


== Adapting for your own use==
If you'd like to create your own infobox, just cut and paste the code you find here onto a subpage of your user page (that is, a page with a format of '''User:YourName/Subpage name'''.  Then, on your own user page, you can call the template by simply typing <pre>{{User:YourName/Subpage name
var 1=value
var 2=value
var 3=value
var 4=value
}}
</pre>
<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude>
<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 15:25, 14 April 2024

Some users have requested over time a user infobox for use in the user namespace which works along the same principles as the infoboxes in the main namespace. This infobox attempts to fill that request, but it should be seen as a "skeleton" for your own creativity.


Simple usage

If you just want to use this one out of the box, cut and paste the following code onto your user page, fill it in and remove any unused fields:

{{Infobox User
|image               =
|image2              =
|name                =
|edit count          =
|aka                 =
|pronouns            =
|age                 =
|affiliation         =
|origin              =
|fav doctor          =
|fav companion       =
|fav enemy           =
|fav episode         =
|fav season          =
|languages           =
|discord             =
|website             =
|twitter             =
|tumblr              =
|clip                =
|clip2               =
|clip3               =
}}

Note that name automatically defaults to your username and so isn't usually necassary. We don't recommend the use of real names, but if you want to put it, aka is where it goes, along with any other aliases.

The edit count field can be set to any value (e.g. "true" or "yes") to display your edit count below your name.

The discord field should just contain the username of your personal account (not an account used primarily for a company, series or brand), if used. The website, twitter and tumblr fields are for linking to your own personal social media accounts and websites. Please don't use these to link to accounts and websites used primarily for a company, series or brand.

The fields clip through to clip3 are for displaying your favourite videos from the Doctor Who universe.