Template:User WP/based/examples
Appearance
This is a documentation subtemplate, displaying basic examples for WikiProject userboxes based on Template:User WP.
{{User WP/subex}}
is a shortcut to this page, {{User WP/based/examples}}
, and can be used in its place.
Parameters
First unnamed parameter
Name of the WP-based userbox (e.g. User WP Politics).
Second unnamed parameter options
- none, to display basic examples only;
list
, to display examples with the namesake parameter too;break
, to display examples with the namesake parameter too;all
, to display all examples;table
, to display all examples in a table;usbk
, to display all examples in a longer Usbk series of templates;yy
, to display all examples in a longer Yy series of templates.
Layout
Code: {{User WP/subex|User WP Politics}}
|
|
Code: {{User WP/subex|User WP Politics|list}}
|
|
|
|
Code: {{User WP/subex|User WP Politics|break}}
|
|
|
Code: {{User WP/subex|User WP Politics|all}}
|
|
|
|
|
Code: {{User WP/subex|User WP Politics|table}}
Code: | Results in: | ||
{{User WP Politics}} |
|
||
{{User WP Politics|left}} |
|
||
{{User WP Politics|left|list}} |
| ||
{{User WP Politics|center}} |
| ||
{{User WP Politics|center|list}} |
| ||
{{User WP Politics|center|break}} |
|
Code: {{usbktop}}
{{User WP/subex|User WP Politics|usbk}}
{{usbkbottom}}
Code | Result | |||
---|---|---|---|---|
{{Template:User WP Politics}} |
|
Usage | ||
{{Template:User WP Politics|left}} |
|
Usage | ||
{{Template:User WP Politics|left|list}} |
|
Usage | ||
{{Template:User WP Politics|center}} |
|
Usage | ||
{{Template:User WP Politics|center|list}} |
|
Usage | ||
{{Template:User WP Politics|center|break}} |
|
Usage |
Code: {{yytop}}
{{User WP/subex|User WP Politics|yy}}
{{yybottom}}
Wikitext | userbox | where used | ||
---|---|---|---|---|
{{User WP Politics}}
|
|
linked pages | ||
{{User WP Politics
|
|
linked pages | ||
{{User WP Politics
|
|
linked pages | ||
{{User WP Politics
|
|
linked pages | ||
{{User WP Politics
|
|
linked pages | ||
{{User WP Politics
|
|
linked pages |