مندرجات کا رخ کریں

سانچہ:RouteBox

آزاد دائرۃ المعارف، ویکیپیڈیا سے

 {{{1}}} 


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|border=|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
  • border=
optional; default is box color
  • 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

[ترمیم]
Color box templates
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 , Orange
{{Diagonal split color box}} Color box split diagonally. Standard size.
   
   

TemplateData

[ترمیم]
ذیل میں اس سانچہ کی معلومات سانچہ دستاویز درج ہے جنہیں بصری خانہ ترمیم اور دیگر آلات استعمال کرتے ہیں۔

معلومات سانچہ RouteBox

Adds a colored box with no border.

محددات سانچہ[انتظام TemplateData]

This template prefers inline formatting of parameters.

پیرامیٹروضاحتطرزحالت
text1

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

مثال
Circle line
اِسٹرنگتجویز کردہ
link2

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

مثال
Circle line (London Underground)
صفحہاختیاری
box color3

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

طے شدہ
black
مثال
yellow
اِسٹرنگتجویز کردہ
text color4

color of the text

طے شدہ
white
مثال
blue
اِسٹرنگاختیاری
borderborder

color of the border; enabled by default

طے شدہ
{{{3}}}
مثال
black
اِسٹرنگاختیاری
boldbold

bolds the text; enabled by default

طے شدہ
yes
مثال
no
اِسٹرنگاختیاری