|
|
1번째 줄: |
1번째 줄: |
| <span style="color:{{#ifeq:{{{3|}}}|ingame|rgb({{TextColor|{{{2}}}}})|{{{2}}}}}">{{{1}}}</span><noinclude> | | <span style="color:{{{1}}}">{{{2}}}</span><noinclude> |
| | | {{Documentation}} |
| == Summary ==
| | <!-- カテゴリと言語間リンクはここではなく、/doc サブページに追加してください --> |
| Colors text the specified color.
| | </noinclude> |
| | |
| {{t|Color|The Text|The Color|ingame}} | |
| | |
| If <code>ingame</code> is present, the named color is passed to [[Template:TextColor]] to show in-game color, instead of using HTML notation
| |
| | |
| To color links, see {{t|Color-link}}
| |
| | |
| == Examples ==
| |
| {| class="wikitable sitecolor-generic"
| |
| ! Code
| |
| ! Result | |
| |-
| |
| |<code><nowiki>{{color|Named Example|red}}</nowiki></code>||{{color|Named Example|red}}
| |
| |-
| |
| |<code><nowiki>{{color|In-Game Example|Orange S2|ingame}}</nowiki></code>||{{color|In-Game Example|Orange S2|ingame}}
| |
| |-
| |
| |<code><nowiki>{{color|Hex Example|#0055FF}}</nowiki></code>||{{color|Hex Example|#0055FF}}
| |
| |}
| |
| | |
| [[Category:Formatting Templates|Color]]</noinclude>
| |