Template:Infobox User/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(Created page with "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 inf...")
 
No edit summary
Line 7: Line 7:
|affiliation        =Whatever you want to set
|affiliation        =Whatever you want to set
|fav doctor          = Your favourite Doctor
|fav doctor          = Your favourite Doctor
|fav companion      = Your favourite Companion
|fav companion      = Your favourite companion
|fav enemy          = Your favourite Enemy e.g: The Daleks
|fav enemy          = Your favourite Enemy e.g: The Daleks
|fav episode        = Your favourite [[DWU]] episode; doesn't have to be ''Doctor Who'' itself
|fav episode        = Your favourite [[DWU]] episode; doesn't have to be ''Doctor Who'' itself
Line 14: Line 14:
}}   
}}   


 
=== 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 your user page:
= Usage ==
<pre>
<pre>
{{Infobox User
{{Infobox User

Revision as of 03:37, 17 March 2012

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:

{{Infobox User
|image               =
|name                =
|age                 =
|affiliation         =
|origin              =
|fav doctor          =
|fav companion       =
|fav enemy           =
|fav episode         =
|fav season          =
|languages           =
}}

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

{{User:YourName/Subpage name
var 1=value
var 2=value
var 3=value
var 4=value
}}