Template:WpCo: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
m Slightly increased icon size
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 ]]&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}} | 25px ]]&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>{{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>
}}


{{C|<nowiki>{{WpCo|A Waypoint Location}}</nowiki>}}
}}
 
[[Category:Templates]]
{{WpCo|A Waypoint Location}}
[[Category:Icon templates]]
 
 
{{C|<nowiki>{{WpCo|A Waypoint Location|234|678}}</nowiki>}}
 
{{C|<nowiki>:{{WpCo|A Bulleted Waypoint Location|123|567}}</nowiki>}}<br>
{{C|<nowiki>:{{WpCo|Another Bulleted Waypoint Location|567|123}}</nowiki>}}
 
{{WpCo|A Waypoint Location|234|678}}
 
:{{WpCo|Another Waypoint Location|123|567}}
:{{WpCo|Another Bulleted Waypoint Location|567|123}}
 
 
{{C|A waypoint location <nowiki>{{WpCo|Example|912|456}}</nowiki> can be used inline too.}}
 
A waypoint location {{WpCo|Example|912|456}} can be used inline too.
 
</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.

Examples

Markup Renders as
{{WpCo|A Waypoint Location}}
caption = A Waypoint Location A Waypoint Location
{{WpCo|A Waypoint Location|234|678}}
caption = A Waypoint Location A Waypoint Location X: 234 Y: 678
A waypoint location {{WpCo|Example|912|456}} can be used inline too.
A waypoint location caption = Example Example X: 912 Y: 456 can be used inline too.