User:Xt0rt3r/Template:Infobox User/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
No edit summary
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 your user page:
<pre>
<pre>

Revision as of 06:32, 17 November 2013

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. User:Xt0rt3r/Template:Infobox User

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           =
|fav vid             =
}}

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
}}