Template:FeatureInfobox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | |||
"name": { | |||
"label": "Name", | |||
"description": "Feature name (defaults to page name)", | |||
"type": "string" | |||
}, | |||
"rows": { | |||
"label": "Rows", | |||
"description": "Infobox rows. Use {{!}}- {{!}} Label {{!}} Value for each row. Include only rows with values.", | |||
"type": "content" | |||
} | |||
}, | |||
"format": "block" | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
<includeonly> | |||
<table class="wikitable" style="float:right; margin:0 0 1em 1em; width:320px"> | |||
<tr> | |||
<th colspan="2" style="background-color:#3d6f4a; color:white; text-align:center">{{{name|{{PAGENAME}}}}}</th> | |||
</tr> | |||
{{{rows|}}} | |||
</table> | |||
</includeonly> | |||
Revision as of 10:42, 3 June 2026
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Feature name (defaults to page name) | String | optional |
| Rows | rows | Infobox rows. Use {{!}}- {{!}} Label {{!}} Value for each row. Include only rows with values. | Content | optional |