Template:Plaincode/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 8: | Line 8: | ||
| <code><nowiki>{{plaincode|ABCDEFG}}</nowiki></code> || {{{{ROOTPAGENAME}}|ABCDEFG}} | | <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>. |
Revision as of 13:38, 12 February 2025
Use this template to create a <code>
block without borders or background coloring.
You type | You get |
---|---|
{{plaincode|ABCDEFG}} |
ABCDEFG
|
Parameters
{{{1}}}
(required)- The text to be styled.
{{{color}}}
or{{{colour}}}
(optional)- Set a custom text color; the default is
inherit
(i.e. the same as the parent element).
{{{style}}}
(optional)- Add custom CSS attributes for styling, other than
border
,background
,color
, andpadding
.