ਫਰਮਾ:RouteBox/doc

ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਅਜ਼ਾਦ ਗਿਆਨਕੋਸ਼ ਤੋਂ

This template is similar to {{Color box}}, but provides for both wikilinks and text color and omits the contrasting border.

Usage[ਸੋਧੋ]

{{RouteBox|text|link|box color|text color|bold=}}

  • RouteBox
can be abbreviated to {{rbox|…}}
  • text
text (bold) to be displayed in the box
  • link
any valid wikilink; [[ and ]] are not required; can be omitted if no link is wanted
  • box color
background color of the box; default is black; can be omitted if text color is not specified
  • text color 
optional; default is white
  • bold=
optional; default is yes

Examples[ਸੋਧੋ]

{{RouteBox|Line|Line}} Line 

{{rbox|Circle line|Circle line (London Underground)|#{{rcr|London Underground|Circle}}|#{{rcr|London Underground|Piccadilly}}}} → <span style="background-color:#ਲੂਆ ਗ਼ਲਤੀ: expandTemplate: template "London Underground color" does not exist।; border:0.1em solid #ਲੂਆ ਗ਼ਲਤੀ: expandTemplate: template "London Underground color" does not exist।;"> <span style="color:#ਲੂਆ ਗ਼ਲਤੀ: expandTemplate: template "London Underground color" does not exist।; font-weight:bold; font-size:inherit; white-space:nowrap;">Circle line 

{{RouteBox|Text||bold=no}} Text 

Variants[ਸੋਧੋ]

Template Description Example
{{Color box}} Color box size with black borders and text color. Standard size.   or  ORANGE 
{{Color box striped}} Striped color box. Standard size.     
{{RouteBox}} Borderless color box with text color and wikilinks.  ORANGE 
{{Colorbull}} Colored bullet with wikilinks.
{{Legend inline}} Color box size with black borders. Standard size.   
{{Color sample}} Color box size with black borders. Smaller size.
{{Swatch inline}} orange
{{Background color}} orange
{{Rail color box}} A version with more display options. Part of Module:Adjacent stations ਲੂਆ ਗ਼ਲਤੀ: expandTemplate: template "Taipei Metro color" does not exist।, ਲੂਆ ਗ਼ਲਤੀ: expandTemplate: template "San Diego Trolley color" does not exist।
{{Diagonal split color box}} Color box split diagonally. Standard size.
   
   

TemplateData[ਸੋਧੋ]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for RouteBox

Adds a colored box with no border.

ਫਰਮੇ ਦੇ ਮਾਪਦੰਡ

This template prefers inline formatting of parameters.

ਮਾਪਦੰਡਵੇਰਵਾਕਿਸਮਦਰਜਾ
text1

text (bold by default) to be displayed in the box

Example
Circle line
Stringsuggested
link2

The name of the page to link towards; can be omitted if no link is wanted

Example
Circle line (London Underground)
Page nameoptional
box color3

background color of the box; can be omitted if text color is not specified

ਮੂਲ ਰੂਪ
black
Example
yellow
Stringsuggested
text color4

color of the text

ਮੂਲ ਰੂਪ
white
Example
blue
Stringoptional
boldbold

bolds the text; enabled by default

ਮੂਲ ਰੂਪ
yes
Example
no
Stringoptional