User:Xt0rt3r/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 na...")
 
No edit summary
Line 1: Line 1:
Some users have requested over time a '''user infobox''' for use in the user [[Help:namespace|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.
Some users have requested over time a '''user infobox''' for use in the user [[Help:namespace|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.
{{Infobox User
{{User:Xt0rt3r/Template:Infobox User
|image              = Image at 250px
|image              = Image at 250px
|name                = If you want to put your real name here, you may.  But be aware of the risks of exposing any real information about yourself to the public internet.  
|name                = If you want to put your real name here, you may.  But be aware of the risks of exposing any real information about yourself to the public internet.  
Line 12: Line 12:
|fav season          = No whining that the variable is called "season" not "series"; season is more precise.
|fav season          = No whining that the variable is called "season" not "series"; season is more precise.
|languages          = Languages you speak
|languages          = Languages you speak
|fav vid            = Your favorite video on the wiki
}}   
}}   


Line 29: Line 30:
|fav season          =
|fav season          =
|languages          =
|languages          =
|fav vid            =
}}</pre>
}}</pre>
== Adapting for your own use==
== Adapting for your own use==
Line 37: Line 39:
var 4=value
var 4=value
}}
}}
</pre>
</pre><noinclude>
<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude>
[[category:template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 06:29, 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
}}