Template:Infobox lighthouse/light: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>MSGJ
(custom-qid)
m (1 revision imported)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Infobox
<noinclude><table></noinclude>{{Infobox
| child = yes
| child = yes
| bodyclass = vcard
| bodyclass = vcard
Line 5: Line 5:
| autoheaders = y
| autoheaders = y
| subheaderstyle = background:#fffacd; font-weight:bold;
| subheaderstyle = background:#fffacd; font-weight:bold;
| subheader = {{#if:{{{custom-qid|}}}
| subheader = {{{name|{{#if:{{#invoke:Wikidata|ViewSomething|labels|en|value|id={{{qid|}}}}}|{{#invoke:Wikidata|ViewSomething|labels|en|value|id={{{qid|}}}}}|Light}}&#32;{{EditAtWikidata|qid={{{qid|}}}}}}}}
|{{#if:{{#invoke:Wikidata|ViewSomething|labels|en|value|id={{{qid|}}}}}
  |{{#invoke:Wikidata|ViewSomething|labels|en|value|id={{{qid|}}}}}
  |Light
}}&#32;{{EditAtWikidata|qid={{{qid|}}}}}
}}


| label1 = First lit
| label1 = First lit
Line 33: Line 28:


| label10 = Intensity
| label10 = Intensity
|  data10 = {{#invoke:WikidataIB |getValue|rank=best|P3041|qual=P462|name=intensity|linked=no|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|qid={{{qid|}}}|{{{intensity|}}}}}
|  data10 = {{#invoke:WikidataIB |getValue|rank=best|P3041|qual=P462,P518|name=intensity|linked=no|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|qid={{{qid|}}}|{{{intensity|}}}}}


| label11 = Range
| label11 = Range
|  data11 = {{#invoke:WikidataIB |getValue|rank=best|P2929|qual=P462|name=range|convert=yes|linked=no|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|qid={{{qid|}}}|{{{range|}}}}}
|  data11 = {{#invoke:WikidataIB |getValue|rank=best|P2929|qual=P462,P518|name=range|convert=yes|linked=no|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|qid={{{qid|}}}|{{{range|}}}}}


| label12 = [[Light characteristic|Characteristic]]
| label12 = [[Light characteristic|Characteristic]]
Line 49: Line 44:
  }}
  }}
}}
}}
}}
 
| label33 = [[United Kingdom Hydrographic Office|Admiralty]] no.
|  data33 = {{#invoke:WikidataIB|getValue|rank=best|P3562|name=admiralty|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|qid={{{qid|}}}|{{{admiralty|}}}}}
 
| label35 = [[National Geospatial-Intelligence Agency|NGA]] no.
|  data35 = {{Infobox lighthouse/NGA|NGA={{#invoke:WikidataIB|getValue|rank=best|P3563|name=NGA|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|qid={{{qid|}}}|noicon=true|{{{NGA|}}}}}}}
 
| label38 = {{#if:{{{countrylink|}}}|[{{{countrylink}}} {{{country}}}]|{{{country}}}}} no.
|  data38 = {{{countrynumber|}}}
}}<noinclude></table></noinclude>

Latest revision as of 11:57, 6 September 2021

Light Template:EditAtWikidata