Template:User BP/subex/doc: Difference between revisions
(Created page with "{{tsh|User BP/subex}} This is a documentation '''sub'''template, displaying basic '''ex'''amples for WikiProject userboxes based on {{tln|User BP}}. {{tlx|User BP/subex}} is a shortcut to this page, {{tlx|User BP/based/examples}}, and can be used in its place. == Parameters == === First unnamed parameter === Name of the BP-based userbox (e.g. User BP Politics). === Second unnamed parameter options === * ''none'', to display basic examples only; * {{code|li...") |
(→Layout) |
||
Line 36: | Line 36: | ||
'''Code:''' {{tlx|User BP/subex|User BP Politics|table}} | '''Code:''' {{tlx|User BP/subex|User BP Politics|table}} | ||
'''Results in:'''{{clear}} | '''Results in:'''{{clear}} | ||
{{User BP/subex|User | {{User BP/subex|User BP Politics|table}} | ||
---- | ---- | ||
'''Code:''' {{tlx|usbktop}} | '''Code:''' {{tlx|usbktop}} |
Latest revision as of 13:49, 30 October 2024
This is a documentation subtemplate, displaying basic examples for WikiProject userboxes based on Template:User BP.
{{User BP/subex}}
is a shortcut to this page, {{User BP/based/examples}}
, and can be used in its place.
Parameters
First unnamed parameter
Name of the BP-based userbox (e.g. User BP 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 BP/subex|User BP Politics}}
Results in:
|
|
Code: {{User BP/subex|User BP Politics|list}}
Results in:
|
|
|
|
Code: {{User BP/subex|User BP Politics|break}}
Results in:
|
|
|
Code: {{User BP/subex|User BP Politics|all}}
Results in:
|
|
|
|
|
Code: {{User BP/subex|User BP Politics|table}}
Results in:
Code: | Results in: | ||
{{User BP Politics}} |
|
||
{{User BP Politics|left}} |
|
||
{{User BP Politics|left|list}} |
| ||
{{User BP Politics|center}} |
| ||
{{User BP Politics|center|list}} |
| ||
{{User BP Politics|center|break}} |
|
Code: {{usbktop}}
{{User BP/subex|User BP Politics|usbk}}
{{usbkbottom}}
Results in:
Template:Usbktop Template:Usbk Template:Usbk Template:Usbk Template:Usbk Template:Usbk Template:Usbk Template:Usbkbottom
Code: {{yytop}}
{{User BP/subex|User BP Politics|yy}}
{{yybottom}}
Results in:
Wikitext | userbox | where used | ||
---|---|---|---|---|
Script error: The function "link" does not exist. |
|
linked pages | ||
Script error: The function "link" does not exist. |
|
linked pages | ||
Script error: The function "link" does not exist. |
|
linked pages | ||
Script error: The function "link" does not exist. |
|
linked pages | ||
Script error: The function "link" does not exist. |
|
linked pages | ||
Script error: The function "link" does not exist. |
|
linked pages |