Jump to content

Wikipedia:Userboxes/Using existing: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m Reverted edits by 24.12.253.173 to last version by 166.205.8.53 (GLOO)
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Using existing userboxes==
==Using existing userboxes==
<includeonly>{{main|Wikipedia:Userboxes/Using existing}}</includeonly>
<includeonly>{{main|Wikipedia:Userboxes/Using existing}}</includeonly>
Userboxes belong on their user's pages. It may be considered [[Wikipedia:Civility|uncivil]] to place userboxes on other users' pages without their permission. However, userboxes may be placed on non-[[Wikipedia:Main namespace|mainspace]] talk/discussion pages by anyone. (See also [[Wikipedia:Talk page]].) The {{tlx|clear}} template can be placed after the plain userbox if text is added on a new line immediately after it.
Userboxes belong on their user's pages. It may be considered [[Wikipedia:Civility|uncivil]] to place userboxes on other users' pages without their permission (''especially'' in a mean-spirited way--[[Homophobia]], [[Racism]], [[Sexism]], etc),. However, userboxes may be placed on non-[[Wikipedia:Main namespace|mainspace]] talk/discussion pages by anyone. (See also [[Wikipedia:Talk page]].) The {{tlx|clear}} template can be placed after the plain userbox if text is added on a new line immediately after it.


A gallery of existing userboxes can be found here: [[WP:Userboxes/Gallery]]
A gallery of existing userboxes can be found here: [[WP:Userboxes/Gallery]]
Line 10: Line 10:
===Optional substitution===
===Optional substitution===
You may decide to [[Wikipedia:Template substitution|substitute]] the template code onto your user page using the syntax <code><nowiki>{{subst:</nowiki>user ''name_of_box''<nowiki>}}</nowiki></code>. The use of "subst:" will ensure that the template is always displayed in its form when you add it to your user page, i.e. it will not reflect subsequent edits to the template. This method will lead to large amounts of code on your user page.
You may decide to [[Wikipedia:Template substitution|substitute]] the template code onto your user page using the syntax <code><nowiki>{{subst:</nowiki>user ''name_of_box''<nowiki>}}</nowiki></code>. The use of "subst:" will ensure that the template is always displayed in its form when you add it to your user page, i.e. it will not reflect subsequent edits to the template. This method will lead to large amounts of code on your user page.

[[Category:Wikipedia]]
[[Category:User en]]

Revision as of 02:51, 2 February 2013

Using existing userboxes

Userboxes belong on their user's pages. It may be considered uncivil to place userboxes on other users' pages without their permission (especially in a mean-spirited way--Homophobia, Racism, Sexism, etc),. However, userboxes may be placed on non-mainspace talk/discussion pages by anyone. (See also Wikipedia:Talk page.) The {{clear}} template can be placed after the plain userbox if text is added on a new line immediately after it.

A gallery of existing userboxes can be found here: WP:Userboxes/Gallery

Syntax

The standard syntax for adding a userbox to your user page (also known as transclusion) is: {{user name_of_box}}.

Optional substitution

You may decide to substitute the template code onto your user page using the syntax {{subst:user name_of_box}}. The use of "subst:" will ensure that the template is always displayed in its form when you add it to your user page, i.e. it will not reflect subsequent edits to the template. This method will lead to large amounts of code on your user page.