模板:顏色

出自The New Order Wiki
跳至導覽 跳至搜尋

 

複製自維基百科
原始頁面按此
模板文件 [ 模板文件頁面 ](※提醒:此模板有時隱藏或不可見)

這個模板取代了{{[[模板:Transclude|legend3]]}}。

使用法

{{顏色|color|text|wikilink}}

例子

Examples
Visual effect Markup
  {{顏色|Red}}
 Default color for this text  {{顏色|Fuchsia|Default color for this text}}
 Wikilink to "Article" on Wikipedia  {{顏色|Yellow|Wikilink to "Article" on Wikipedia|Article}}
 Using an X11 color name  {{顏色|Chartreuse|'''Using an X11 color name'''|X11 color names}}
 Using RGB hex triplet  {{顏色|#FEDCBA|''Using RGB hex triplet''|Web colors#Hex triplet}}

NOTE: Using a blue, purple, or red 顏色 obscures unvisited, visited, and missing wikilinks, respectively, as these are the default link colors for most users.

Legends and keys

The 顏色 template is widely used to annotate complex tables in which editors have used color to group like entries. The editor uses the background-color style to color individual cells in the table and then adds a legend consisting of 顏色es at the beginning or end of the table explaining the meanings behind the color scheme. The editor may also add symbols like a caret (^), dagger/obelisk (†), double dagger/diesis (‡), or asterisk (*) to call attention to the different meanings.

Text marker examples
Visual effect Markup
 ^  {{顏色|#CEF2E0|^}}
 †  {{顏色|#CEDFF2|†}}
 ‡  {{顏色|#DDCEF2|‡}}
 *  {{顏色|#F2E0CE|*}}

NOTE:

  1. Using a black 顏色 with text markers obscures the text as the default style foreground color for most users is black.
  2. The HTML code * must be used to create the asterisk as Wikipedia will treat the typed asterisk as an indented bullet point.

參見

  • {{[[模板:Transclude|Color box]]}}:黑色外框版本