Template:Plaincode/doc: Difference between revisions
ArrowHead294 (talk | contribs) Docupage |
ArrowHead294 (talk | contribs) mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{dochead}}{{wikipedia}} | {{dochead}}{{wikipedia}} | ||
Use this template to create a <code><<nowiki />code></code> block without borders or background coloring. | Use this template to create a <code><<nowiki />code></code> block without borders or background coloring. | ||
{| class="wikitable" | |||
|- | |||
! You type !! You get | |||
|- | |||
| <code><nowiki>{{plaincode|ABCDEFG}}</nowiki></code> || {{{{ROOTPAGENAME}}|ABCDEFG}} | |||
|} | |||
=== Parameters === | |||
; <code>{{{<nowiki />1}}}</code> (required) | |||
: The text to be styled. | |||
; <code>{{{<nowiki />color}}}</code> or <code>{{{<nowiki />colour}}}</code> (optional) | |||
: Set a custom text color; the default is <code>inherit</code> (i.e. the same as the parent element). | |||
; <code>{{{<nowiki />style}}}</code> (optional) | |||
: Add custom CSS attributes for styling, other than <code>border</code>, <code>background</code>, <code>color</code>, and <code>padding</code>. |