বিষয়বস্তুতে চলুন

টেমপ্লেট:রঙ টেমপ্লেট নথি/নথি

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে

This template lists as a wikitable row a template name and up to five arguments, a color sample and its hex value.

{{Template:system color}}

Sample: hexval

{{Template:system color|argument_1}}

Sample: hexval

{{Template:system color|argument_1}} or …|argument_2}}

Sample: hexval

{{Template:system color|argument_1}} or …|argument_2}} or …|argument_3}}

Sample: hexval

{{Template:system color|argument_1}} or …|argument_2}} or …|argument_3}} or …|argument_4}}

Sample: hexval

{{Template:system color|argument_1}} or …|argument_2}} or …|argument_3}} or …|argument_4}} or …|argument_5}}

Sample: hexval

ব্যবহার

[সম্পাদনা]

The template itself is contained between table start and end markup:

{| class="wikitable"
{{Color template doc|argument_1|argument_2|…|argument_5}}
|}

argument_1 can be omitted if the color template has only one value, or it is desired to show the default color; argument_2 through argument_5 are optional. All five are valid inputs for the color template.

উদাহরণ

[সম্পাদনা]

When used on the page Template:Amtrak color/doc, the code {{Color template doc|}} produces

{{Amtrak color}} Sample:   005480

while the code {{Color template doc|#default}} produces

{{Amtrak color|#default}} Sample:   005480

Additional information can be added to the table. On the page Template:NYCS color/doc the code

{{Color template doc|blue}}
| [[IND Eighth Avenue Line|Eighth Avenue]]
| A / C / E / Eighth

produces

{{NYCS color|blue}} Sample:   0039a6 Eighth Avenue A / C / E / Eighth

আরও দেখুন

[সম্পাদনা]