Template:KeyValue: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
New: | New: | ||
-->{{#if:{{{new|}}}|<tr bgcolor="#{{#switch:{{{deprecated|}}}|true=423333|3a3a3a}}" style="{{#switch:{{{deprecated|}}}|true=cursor:help|}}" {{#switch:{{{deprecated|}}}|true=title="Deprecated | -->{{#switch:{{{1|}}} | ||
|start=<table cellpadding="4" width="100%" style="border:1px solid #525252"> | |||
<tr style="background-color:#949494; color:#141414"> | |||
<th width="8%">{{KV/strings|Key}} <span style="opacity:.7; user-select:none; cursor:help" title="{{KV/strings|KeyHelp}}">(?)</span></th> | |||
<th width="8%">{{KV/strings|Variable}}</th> | |||
<th>{{KV/strings|Delivery}} <span style="opacity:.7; user-select:none; cursor:help" title="{{KV/strings|DeliveryHelp}}">(?)</span></th> | |||
<th>{{KV/strings|PropertyName}}</th> | |||
<th>{{KV/strings|DefaultValue}}</th> | |||
<th>{{KV/strings|Desc}}</th> | |||
</tr> | |||
|}}<!-- | |||
Section title: | |||
-->{{#if:{{{sectiontitle|}}}|<tr><td colspan="6" bgcolor="#303030" align="center">'''{{{sectiontitle|}}}'''</td></tr>|}}<!-- | |||
Text input: | |||
-->{{#if:{{{new|}}} | |||
|<tr bgcolor="#{{#switch:{{{deprecated|}}}|true=423333|3a3a3a}}" style="{{#switch:{{{deprecated|}}}|true=cursor:help|}}" {{#switch:{{{deprecated|}}}|true=title="{{KV/strings|Deprecated}}"|}}> | |||
<td align="center"><kbd>{{{1|}}}{{#if:{{{intn2|}}}| <span style="opacity:.7">to</span> {{{intn2|}}}|}}</kbd></td> | <td align="center"><kbd>{{{1|}}}{{#if:{{{intn2|}}}| <span style="opacity:.7">to</span> {{{intn2|}}}|}}</kbd></td> | ||
<td align="center">{{KV Type|{{{2}}}}}</td> | <td align="center">{{KV Type|{{{2}}}}}</td> | ||
Line 29: | Line 48: | ||
<td>{{{3|}}}{{#if:{{{to|}}}| <span style="opacity:.7">to</span> {{{to|}}}|}}</td> | <td>{{{3|}}}{{#if:{{{to|}}}| <span style="opacity:.7">to</span> {{{to|}}}|}}</td> | ||
<td style="background-color:rgb({{{4|}}})">{{{4|}}}</td> | <td style="background-color:rgb({{{4|}}})">{{{4|}}}</td> | ||
<td>{{{5|}}}</td> | <td><div style="display:flex; flex-wrap:wrap; gap:6px"><!-- | ||
-->{{#if: {{{deprecated|}}} | {{obs|4}} }}<!-- | |||
-->{{#if: {{{only|}}} | {{#ifexist: Template:{{{only}}} only | {{{{{only}}} only}} | {{only|{{{only}}}}}}} }}<!-- | |||
-->{{#if: {{{since|}}} | {{#ifexist: Template:{{{since}}} add | {{{{{since}}} add}} | {{since|{{{since}}}}}}} }}<!-- | |||
-->{{#if: {{{removed|}}} | {{removed|{{{removed}}}}} }}<!-- | |||
-->{{#if: {{{not|}}} | {{#ifexist: Template:{{{not}}} not | {{{{{not}}} not}} | {{not|{{{not}}}}}}} }}<!-- | |||
-->{{#if: {{{also|}}} | {{#ifexist: Template:{{{also}}} also | {{{{{also}}} also}} | {{also|{{{also}}}}}}} }}<!-- | |||
-->{{#if: {{{nofgd|}}} | {{Not in FGD}} }}<!-- | |||
--></div>{{{5|}}}</td> | |||
</tr>|}}<!-- | </tr>|}}<!-- | ||
End: | |||
-->{{#switch:{{{1|}}}| end = </table>|}}</onlyinclude></includeonly> | -->{{#switch:{{{1|}}}|end=</table>|}}</onlyinclude></includeonly> |
Revision as of 11:02, 5 March 2023
The above documentation is transcluded from Template:KeyValue/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.