Template:Infobox ship characteristics/paramlineP: Difference between revisions
Jump to navigation
Jump to search
en>Trappist the monk (update to support unordered lists;) |
Ozycaevias (talk | contribs) m (1 revision imported) |
||
Line 10: | Line 10: | ||
</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><!-- | ||
--> | -->{{#if:{{{val|}}}|{{{val|}}}<!-- | ||
-->|[[{{{WDval|}}}]] [[File:Wikidata-favicon.png|16px|alt=Imported from Wikidata|link={{{WDlnk|}}}]] <sup>[[Template:Infobox_ship_characteristics#Parameter_value_import_from_Wikidata|(?)]]</sup>[[Category:Ship infoboxes importing Wikidata]] | -->|[[{{{WDval|}}}]] [[File:Wikidata-favicon.png|16px|alt=Imported from Wikidata|link={{{WDlnk|}}}]] <sup>[[Template:Infobox_ship_characteristics#Parameter_value_import_from_Wikidata|(?)]]</sup>[[Category:Ship infoboxes importing Wikidata]]}}</td></tr>{{#if:{{{WDpid|}}}|{{{WDpid|}}}}}}} | ||
}} | }} |
Revision as of 17:42, 25 February 2019
For internal use by {{Template:Infobox ship characteristics/paramline}} and possibly {{Template:Infobox ship characteristics}} itself in the future.
- lab= infobox line label
- val= optional value for parameter
- if absent and no WDval parameter: line is not displayed
- if absent and WDval parameter: Wikidata is used to provide a value
- if "none": line is not displayed
- WDval= optional Wikidata property value (imported using parser function {{#property:}})
- WDlnk= optional link to corresponding Wikidata item page