跳转到内容
RA2DIY-WIKI 当前处于维护模式:页面上的内容随时可能发生更改且不会事先告知。

Template:Co/Doc:修订间差异

来自RA2DIY
创建页面,内容为“Usage: <pre> {{Co|text|color|background-color}} </pre> Copy-paste the code above and replace * '''text''' with the text you want to have colored * '''color''' with the color the text should have * '''background-color''' with the bg-color the text should have (can be left blank) ==Examples== ;Code <pre> {{Co|Gold text|gold}} {{Co|Green text with a red background|#00FF00|red}} {{Color|Grayish-green text with a red background|green|red}} </pre> ;Result {{Co|Gol…”
 
页面内容被替换为“#REDIREDT Template:Co/doc
 
第1行: 第1行:
Usage:
#REDIREDT [[Template:Co/doc]]
<pre>
{{Co|text|color|background-color}}
</pre>
Copy-paste the code above and replace
* '''text''' with the text you want to have colored
* '''color''' with the color the text should have
* '''background-color''' with the bg-color the text should have (can be left blank)
 
==Examples==
;Code
<pre>
{{Co|Gold text|gold}}
 
{{Co|Green text with a red background|#00FF00|red}}
 
{{Color|Grayish-green text with a red background|green|red}}
</pre>
;Result
{{Co|Gold text|gold}}
 
{{Co|Green text with a red background|#00FF00|red}}
 
{{Color|Grayish-green text with a red background|green|red}}
 
* Mind that '''{{color block|#00FF00}}<code>#00FF00</code> and {{color block|green}}<code>green</code> are diffrent in our wiki'''.
 
==See also==
{{tl|color block}}

2025年5月3日 (六) 07:18的最新版本