Template:Infobox User/doc: Difference between revisions
Line 35: | Line 35: | ||
== Adapting for your own use== | == 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 | 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 style=border-radius:10px>{{User:YourName/Subpage name | ||
var 1=value | var 1=value | ||
var 2=value | var 2=value |
Revision as of 04:16, 1 February 2014
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 = |user name = |name = |age = |affiliation = |origin = |fav doctor = |fav companion = |fav enemy = |fav episode = |fav season = |fav vid = |languages = }}
Note that 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, name is where it goes. The other name field, user name, is typically not necessary, as this infobox automatically captures and uses the pagename on which it's placed.
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 }}