Template:User BP/based/examples/doc

< Template:User BP‎ | based‎ | examples
Revision as of 13:48, 30 October 2024 by Muskit Gergous (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 BPPolitics}} Template:User BPPolitics
{{User BPPolitics|left}} Template:User BPPolitics
{{User BPPolitics|left|list}} Template:User BPPolitics
{{User BPPolitics|center}} Template:User BPPolitics
{{User BPPolitics|center|list}} Template:User BPPolitics
{{User BPPolitics|center|break}} Template:User BPPolitics

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.
Vote.svgThis user is a participant in WikiProject Politics.
linked pages
Script error: The function "link" does not exist.
Vote.svgThis user is a participant in WikiProject Politics.
linked pages
Script error: The function "link" does not exist.
Vote.svgThis user is a participant in WikiProject Politics.
talk
linked pages
Script error: The function "link" does not exist.
Vote.svgThis user is a participant in
WikiProject Politics.
linked pages
Script error: The function "link" does not exist.
Vote.svgThis user is a participant in
WikiProject Politics.
talk
linked pages
Script error: The function "link" does not exist.
Vote.svgThis user is a participant in
WikiProject
Politics
.
linked pages

Template:Yybottom