Template:WpCo: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) m Slightly increased icon size |
HiddenDragon (talk | contribs) mNo edit summary |
||
Line 3: | Line 3: | ||
{{#lvardef: co-x | {{{2|}}} }} | {{#lvardef: co-x | {{{2|}}} }} | ||
{{#lvardef: co-y | {{{3|}}} }} | {{#lvardef: co-y | {{{3|}}} }} | ||
[[File:Waypoint Map Icon.png | caption = {{#lvar:text}} | 25px ]] {{#lvar:text}} }}{{#If: {{#lvar:co-x}} | <span class="bg3wiki-coordinates">X: {{#lvar:co-x}} Y: {{#lvar:co-y}}</span>}}</includeonly><noinclude> | [[File:Waypoint Map Icon.png | caption = {{#lvar:text}} | 25px ]] {{#lvar:text}} }}{{#If: {{#lvar:co-x}} | <span class="bg3wiki-coordinates">X: {{#lvar:co-x}} Y: {{#lvar:co-y}}</span>}}</includeonly><noinclude>{{Documentation|content= | ||
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. | 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. | ||
== Examples == | |||
{{Template demo | |||
| style = table | |||
| <nowiki>{{WpCo|A Waypoint Location}}</nowiki> | |||
| <nowiki>{{WpCo|A Waypoint Location|234|678}}</nowiki> | |||
| <nowiki>A waypoint location {{WpCo|Example|912|456}} can be used inline too.</nowiki> | |||
}} | |||
}} | |||
[[Category:Templates]] | |||
[[Category:Icon templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 23:27, 19 January 2025
Template documentation
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.