Template:No

From GTA Portugal Wiki
Revision as of 22:28, 12 March 2024 by RoamPT (talk | contribs) (Created page with "<includeonly>{{#if:{{{box|}}}|<div style="width: {{{width|100}}}%; background-color:var(--theme-red-color); text-align: {{{align|center}}}; padding: 0 5px 0 5px;"> {{{1|No}}} </div>|style="background-color:var(--theme-red-color); text-align: {{{align|center}}};"{{!}}{{{1|No}}}}}</includeonly><noinclude> ==Source== <code><nowiki>{{No|}}</nowiki></code> ==Usage== Use this template to visualize a "No" or otherwise negative with a themed red background. Used in conjunction...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Source

{{No|}}

Usage

Use this template to visualize a "No" or otherwise negative with a themed red background. Used in conjunction with Yes template.

Parameters

The first field sets the text to be used. The default text is "No".
{{No|box=y|Negative}}

Negative

box defines whether the template is to be used as a box rather than as a background to an existing table cell, for example, if it is used in plain text.
{{No|box=y|Unavailable}}

Unavailable


align determines how the text should be aligned.
{{No|align=left|I am left-aligned text!}}
{{No|align=center|I am centered text!}}
{{No|align=right|I am right-aligned text!}}

Column 1 Column 2 Column 3
I am left-aligned text! I am centered text! I am right-aligned text!

width determines the width the box should be. This can only be used if box is used. Default is 100%. {{No|box=y|width=50|50%}}
{{No|box=y|width=25|25%}}
{{No|box=y|width=10|10%}}

50%

25%

10%

See Also

  • Yes - similarly functioning "yes"/positive variation of this template.