Template:Infobox lighthouse/NGA: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>MSGJ
(ignore_errors)
>MSGJ
(+editatwikidata)
Line 3: Line 3:
   |url=https://wikidata-externalid-url.toolforge.org/?url=https%3A%2F%2Fmsi.nga.mil%2FqueryResults%3Fpublications%2Fngalol%2Flights-buoys%3Fvolume%3D%251%26featureNumber%3D%252%26includeRemovals%3Dfalse%26output%3Dhtml&exp=(%5Cd%7B3%7D)-(.*)&id=$1
   |url=https://wikidata-externalid-url.toolforge.org/?url=https%3A%2F%2Fmsi.nga.mil%2FqueryResults%3Fpublications%2Fngalol%2Flights-buoys%3Fvolume%3D%251%26featureNumber%3D%252%26includeRemovals%3Dfalse%26output%3Dhtml&exp=(%5Cd%7B3%7D)-(.*)&id=$1
   |code={{#invoke:String|match|s={{{NGA}}}|pattern=11[0-6]%-%d+%.?%d*}}
   |code={{#invoke:String|match|s={{{NGA}}}|pattern=11[0-6]%-%d+%.?%d*}}
  }}{{#invoke:String|sub|s={{{NGA}}}|i={{#expr:{{#invoke:String|len|s={{#invoke:String|match|s={{{NGA}}}|pattern=11[0-6]%-%d+%.?%d*}}}}+1}}|ignore_errors=true}}
  }}{{#invoke:String|sub|s={{{NGA}}}|i={{#expr:{{#invoke:String|len|s={{#invoke:String|match|s={{{NGA}}}|pattern=11[0-6]%-%d+%.?%d*}}}}+1}}|ignore_errors=true}} {{EditAtWikidata|qid={{{qid|{{{item|}}}}}}|pid=P3563}}
  |{{{NGA}}}
  |{{{NGA}}}
}}<noinclude>
}}<noinclude>
{{doc}}
{{doc}}
</noinclude>
</noinclude>

Revision as of 15:24, 24 March 2021

{{{NGA}}} Template:Doc