Difference between revisions of "Template:Infobox ship characteristics/paramlineP"
Jump to navigation
Jump to search
imported>Trappist the monk (update to support unordered lists;) |
imported>Jonesey95 |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
| − | For internal use by < | + | For internal use by <code><nowiki>{{Template:Infobox ship characteristics/paramline}}</nowiki></code> and possibly <code><nowiki>{{Template:Infobox ship characteristics}}</nowiki></code> itself in the future. |
| − | :< | + | :<code>lab</code>= infobox line label |
| − | :< | + | :<code>val</code>= optional value for parameter |
| − | :::::if absent and no < | + | :::::if absent and no <code>WDval</code> parameter: line is not displayed |
| − | :::::if absent and < | + | :::::if absent and <code>WDval</code> parameter: Wikidata is used to provide a value |
| − | :::::if "< | + | :::::if "<code>none</code>": line is not displayed |
| − | :< | + | :<code>WDval</code>= optional Wikidata property value (imported using parser function <code><nowiki>{{#property:}}</nowiki></code>) |
| − | :< | + | :<code>WDlnk</code>= optional link to corresponding Wikidata item page |
</noinclude>{{#ifeq:{{{val|}}}|none|{{#if:{{{WDval|}}}|[[Category:Ship infoboxes blocking Wikidata import]]}}<!-- | </noinclude>{{#ifeq:{{{val|}}}|none|{{#if:{{{WDval|}}}|[[Category:Ship infoboxes blocking Wikidata import]]}}<!-- | ||
-->|{{#if:{{{val|}}}<!-- either -->{{{WDval|}}}|<tr style="vertical-align:top;"><td>{{{lab|}}}</td><td><!-- | -->|{{#if:{{{val|}}}<!-- either -->{{{WDval|}}}|<tr style="vertical-align:top;"><td>{{{lab|}}}</td><td><!-- | ||
Latest revision as of 18:39, 8 June 2020
For internal use by {{Template:Infobox ship characteristics/paramline}} and possibly {{Template:Infobox ship characteristics}} itself in the future.
lab= infobox line labelval= optional value for parameter- if absent and no
WDvalparameter: line is not displayed - if absent and
WDvalparameter: Wikidata is used to provide a value - if "
none": line is not displayed
- if absent and no
WDval= optional Wikidata property value (imported using parser function{{#property:}})WDlnk= optional link to corresponding Wikidata item page