Template:WpCo: Difference between revisions

Jump to navigation Jump to search
m
minor simplify
mNo edit summary
m (minor simplify)
Line 3: Line 3:
{{#lvardef: co-x | {{{2|}}} }}
{{#lvardef: co-x | {{{2|}}} }}
{{#lvardef: co-y | {{{3|}}} }}
{{#lvardef: co-y | {{{3|}}} }}
}}<span>{{icon | Waypoint Map Icon.png  | caption = {{#lvar:text}} | 18px }}</span>&nbsp;{{#lvar:text}}{{#If: {{#lvar:co-x}} | &nbsp;<span class="bg3wiki-coordinates">X:&nbsp;{{#lvar:co-x}}&nbsp;Y:&nbsp;{{#lvar:co-y}}</span>|}}</includeonly><noinclude>
[[File:Waypoint Map Icon.png  | caption = {{#lvar:text}} | 16px ]]&nbsp;{{#lvar:text}} }}{{#If: {{#lvar:co-x}} | &nbsp;<span class="bg3wiki-coordinates">X:&nbsp;{{#lvar:co-x}}&nbsp;Y:&nbsp;{{#lvar:co-y}}</span>}}</includeonly><noinclude>
This template is a shortcut for creating a fancy waypoint entry; using the waypoint icon in place of a bullet point, and with optional coordinates.
This template is a shortcut for creating a fancy waypoint entry. Primarily intended for using the waypoint icon in place of a bullet point. Can use optional coordinates.




Line 14: Line 14:
{{C|<nowiki>{{WpCo|A Waypoint Location|234|678}}</nowiki>}}
{{C|<nowiki>{{WpCo|A Waypoint Location|234|678}}</nowiki>}}


{{C|<nowiki>{{WpCo|A Waypoint Location|123|567}}</nowiki>}}
{{C|<nowiki>:{{WpCo|A Bulleted Waypoint Location|123|567}}</nowiki>}}<br>
{{C|<nowiki>:{{WpCo|Another Bulleted Waypoint Location|123|567}}</nowiki>}}


{{WpCo|A Waypoint Location|234|678}}
{{WpCo|A Waypoint Location|234|678}}


{{WpCo|Another Waypoint Location|123|5678}}</noinclude>
:{{WpCo|Another Waypoint Location|123|5678}}
:{{WpCo|Another Bulleted Waypoint Location|123|567}}
 
 
{{C|A waypoint location <nowiki>{{WpCo|A Waypoint Location|912|456}}</nowiki> can be used inline too.}}
 
A waypoint location {{WpCo|A Waypoint Location|912|456}} can be used inline too.
 
</noinclude>

Navigation menu