Template:Ki-ps: Difference between revisions

From Guild of Archivists
m (Added subobject property definition)
m (Moved subobject property to includeonly tag)
Line 1: Line 1:
{{#subobject:KI coordinate
<span class="kips"><span class="dnidings" title="angle">5</span> {{#number_format:{{{1}}}}} <span class="dnidings" title="distance">6</span> {{{2}}} <span class="dnidings" title="elevation">7</span> {{{3}}}</span><includeonly>{{#subobject:KI coordinate
  |Has angle={{{1}}}
  |Has angle={{{1}}}
  |Has distance={{{2}}}
  |Has distance={{{2}}}
  |Has elevation={{{3}}}
  |Has elevation={{{3}}}
}}<span class="kips"><span class="dnidings" title="angle">5</span> {{#number_format:{{{1}}}}} <span class="dnidings" title="distance">6</span> {{{2}}} <span class="dnidings" title="elevation">7</span> {{{3}}}</span><includeonly>[[Category:Articles with Great Zero coordinates]]</includeonly><noinclude>
}}[[Category:Articles with Great Zero coordinates]]</includeonly><noinclude>
{{documentation}}
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
</noinclude>

Revision as of 18:46, 30 October 2019

5 1 6 {{{2}}} 7 {{{3}}}

Template documentation[view] [edit] [history] [purge]

Usage

Great Zero coordinates (aka "KI-PS coordinates", hence the name of this template) are listed in angle, distance, and elevation, in that order. You can insert a coordinate set into an article using the template as follows:

{{ki-ps|100|20|3}}

Insert Great Zero coordinates (aka "KIPS") into an article.

Template parameters

ParameterDescriptionTypeStatus
Angle1

The angle, in torans, of the coordinate. The number will be formatted automatically.

Numberrequired
Distance2

The horizontal distance, in spans, of the coordinate from the Great Zero. The number will be formatted automatically.

Numberrequired
Elevation3

The vertical distance, in spans, of the coordinate from the Great Zero. The number will be formatted automatically.

Numberrequired