Difference between revisions of "Template:Location map-line/doc"

From blackwiki
Jump to navigation Jump to search
imported>Spiderjerky
imported>Sardanaphalus
(heading, Aligned table, sandbox non-categorization, category update)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE -->
  
=== Usage ===
+
===Example usage===
{| class="wikitable"
+
{{Aligned table
|-
+
|class=wikitable |colstyle=vertical-align:middle;
! code
+
|col1style=padding-left:1.0em;font-family:monospace;padding-right:1.0em;
! result
+
|row1header=on| {{sans-serif|Code}} | Result
|-
+
| <nowiki>{{Location map-line |lon=-50}}</nowiki> | {{Location map-line |lon=-50}}
| <nowiki>{{Location map-line|lon=-50}}</nowiki>
+
| <nowiki>{{Location map-line |lon=130}}</nowiki> | {{Location map-line |lon=130}}
| {{Location map-line|lon=-50}}
+
| <nowiki>{{Location map-line |lat=-30}}</nowiki> | {{Location map-line |lat=-30}}
|-
+
| <nowiki>{{Location map-line |lat=60}}</nowiki> | {{Location map-line |lat=60}}
| <nowiki>{{Location map-line|lon=130}}</nowiki>
+
}}
| {{Location map-line|lon=130}}
 
|-
 
| <nowiki>{{Location map-line|lat=-30}}</nowiki>  
 
| {{Location map-line|lat=-30}}
 
|-
 
| <nowiki>{{Location map-line|lat=60}}</nowiki>  
 
| {{Location map-line|lat=60}}
 
|}
 
  
<includeonly>
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
<!-- ADD CATEGORIES BELOW THIS LINE -->
+
| <!-- ADD CATEGORIES BELOW THIS LINE, PLEASE: -->
 
[[Category:Location map templates| ]]
 
[[Category:Location map templates| ]]
[[Category:Graphics templates]]
+
[[Category:Map formatting and function templates]]
[[Category:Mapping templates]]
+
}}</includeonly>
</includeonly>
 

Revision as of 19:07, 16 January 2015

Example usage

Script error: No such module "aligned table".