Difference between revisions of "Template:Colorbull/doc"

From blackwiki
Jump to navigation Jump to search
imported>GKFX
(→‎Usage: Convert to {{Format TemplateData}})
imported>GKFX
m (Delete duplicated content)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
This template inserts a colored bullet, with an optional [[wikilink]]. The bullet’s shape and size can also be changed.
 
 
== Usage ==
 
  
 
{{Format TemplateData|TOC=1|JSON=
 
{{Format TemplateData|TOC=1|JSON=
Line 19: Line 15:
 
"2": {
 
"2": {
 
"label": "Shape",
 
"label": "Shape",
"description": "One of <noexport><table class=\"wikitable\"><tr>
+
"description": "One of: <noexport><table class=\"wikitable\"><tr>
 
<td>c / circle / r / round</td>
 
<td>c / circle / r / round</td>
 
<td>●</td></tr>
 
<td>●</td></tr>

Revision as of 22:06, 31 January 2018

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Colorbull

INTERNAL: mw.text.jsonDecode: Control character error, possibly incorrectly encoded

Examples

Visual
effect
Markup
{{colorbull}}
{{colorbull|#039}}
{{colorbull|size=50}}
{{colorbull|red|round}}
{{colorbull|green|d}}
{{colorbull||tu|triangle}}

See also

Template Description Example
{{Color box}} a small color box with black borders and text color   or  ORANGE 
{{Color box striped}} a striped version     
{{RouteBox}} a borderless version with text color and wikilinks Template:RouteBox
{{Colorbull}} a colored bullet with wikilinks
{{Legend2}} another borderless version   
{{Color sample}} a small color box with black borders
{{Swatch inline}} Template:Swatch inline
{{Background color}} orange
{{Rail color box}} a version with more display options
(part of Module:Adjacent stations)
Template:Rcb, Template:Rcb, etc.
{{Diagonal split color box}} a small color box split diagonally
   
   
, etc.
{{Motor type}} A small color box corresponding to the motor type Template:Motor type, etc.
  1. REDIRECT Template:•)