Difference between revisions of "Template:No"
From Pangaea Wiki
MyraMidnight (Talk | contribs) (Created page with "<noinclude> This template is for use within wikitables, it creates the following: Category:WikitableTemplates {| class="wikitable" |- |</noinclude>style="background:#ff90...") |
MyraMidnight (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
{| class="wikitable" | {| class="wikitable" | ||
− | |- | + | |<onlyinclude><!-- |
− | + | ||
− | |} | + | -->style="background:#ff9090; color:black; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}" class="table-no" | {{{1|No}}}<!-- |
+ | |||
+ | --></onlyinclude> | ||
+ | |}<noinclude>{{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 22:38, 11 August 2018
No |
Template documentation (
)
)
How to use Table Cell Templates
... !{{Yes}} ||{{No}} ||rowspan=2 {{n/a}} |- |colspan=2 {{Any}} ...
Yes | No | N/A |
---|---|---|
Any |
- You put the cell-template within a "cell" of the table.
- to use
colspan
orrowspan
with the template you need to add them in front of the template - You cannot combine two templates in one cell
- you cannot add any styling to the cell since it will conflict with the template.
- Each cell-template has it's own parameters, these are some common ones that might apply:
| 1 =
(the first parameter) allows you to replace the default text{{yes|custom text}}
| align =
sets the text alignment| style =
allows you to add custom styling
Cell-templates on pangaea wiki
template | code | example |
---|---|---|
yes | {{yes}} | Yes |
no | {{no}} | No |
any | {{any}} | Any |
n/a | {{n/a}} | N/A |
checked | {{checked}} | |
unchecked | {{unchecked}} |
- The above documentation is transcluded from Template:No/doc.
- Editors can experiment in this template's sandbox
- Please add categories to the /doc subpage within
<includeonly>...</includeonly>
tags.