Template:Ki-ps: Difference between revisions
No edit summary |
m (Added subobject property definition) |
||
Line 1: | Line 1: | ||
<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> | {{#subobject:KI coordinate | ||
|Has angle={{{1}}} | |||
|Has distance={{{2}}} | |||
|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> | |||
{{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:45, 30 October 2019
<ul><li>Property "Has angle" (as page type) with input value "{{{1}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.</li> <!--br--><li>Property "Has distance" (as page type) with input value "{{{2}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.</li> <!--br--><li>Property "Has elevation" (as page type) with input value "{{{3}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.</li></ul>5 1 6 {{{2}}} 7 {{{3}}}
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Angle | 1 | The angle, in torans, of the coordinate. The number will be formatted automatically. | Number | required |
Distance | 2 | The horizontal distance, in spans, of the coordinate from the Great Zero. The number will be formatted automatically. | Number | required |
Elevation | 3 | The vertical distance, in spans, of the coordinate from the Great Zero. The number will be formatted automatically. | Number | required |
The above documentation is transcluded from Template:Ki-ps/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |