User:Noian/UserTemplate

From Wikipedia, the free encyclopedia


This is in Wikipedia user space.

This is not an encyclopedia article. If you find this page on any site other than Wikipedia, you are viewing a mirror site. Be aware that the page may be outdated and that the user to whom this page belongs may have no personal affiliation with any site other than Wikipedia itself. The original page is located at http://en.wikipedia.org/wiki/User:Noian/UserTemplate.


This is the template documentation page for User:Noian/UserTemplate.
This page may not be intended to be viewed directly.
Links using variables may appear broken; do not replace these with hardcoded page names or URLs.






[edit] [purge] Documentation



To add this template to your userpage, simply type: {{User:Noian/UserTemplate}}

Usage

This template is meant to be used as an simple alternative to the {{documentation subpage}} and related subpage templates in that it does not use a subpage. However, this template can handle more complicated documentation, such as the documentation for the template itself. You can also, although not designed for such, use this as a message box.


Simple Usage

For userboxes or other templates with no parameters, simply use the following to get: To add this FOO to your BAR, simply type: {{User:Noian/UserTemplate}}

{{User:Noian/UserTemplate|definition=FOO|simple=BAR}}
NOTE: Don't forget to include the above in <noinclude> brackets

Parameters

CodeExplanation
{{User:Noian/UserTemplate
 |section=
 |header=
 |purge=
 |wip=
 |definition=
 |simple=
 |intro=
 |table=
 |column1=
 |column2=
 |rowaX=
 |rowbY=
 |body=
}}
Not all parameters need to be used/defined
  • section: Define if you want to create a separate section for the template.
  • header : The header of the template, default is Documentation.
  • purge: Define the parameter (anything) to show the purge button.
  • wip: Define the parameter to show a WIP message with a custom message below (NBSP if you don't want a custom message).
  • definition : (Optional) Defines the page/template/etc. in the default WIP/simple message (ex.NOTE: This {{{definition}}}/{{{definition}}} documentation is currently under construction.)
  • simple : Adds a message saying: To add this to your {{{simple}}}, simply type: {{User:Noian/UserTemplate}}
  • intro : Put any text before the first table (if using table parameter).
  • table : Define a table title if using the built in table workaround (see known issues below).
  • column1, column2 : Define the column's title.
  • rowaX : Text for cell a-X where X is an integer greater than zero. (currently supports up to 2)
  • rowbY : Text for cell b-Y where Y is an integer greater than zero. (currently supports up to 2)
  • body : Same as intro except after a table (if applicable).


Known Issues:

Wiki-pipe/table templates do not work, use html tables instead, or the table parameter (see above).

All parameters are case sensitive.

Support:

Currently unsupported due to a lack of time. Up for adoption.