Template:WpCo: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
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>

Revision as of 16:33, 30 September 2023

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.


{{WpCo|A Waypoint Location}}

caption = A Waypoint Location A Waypoint Location


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

:{{WpCo|A Bulleted Waypoint Location|123|567}}
:{{WpCo|Another Bulleted Waypoint Location|123|567}}

caption = A Waypoint Location A Waypoint Location X: 234 Y: 678

caption = Another Waypoint Location Another Waypoint Location X: 123 Y: 5678
caption = Another Bulleted Waypoint Location Another Bulleted Waypoint Location X: 123 Y: 567


A waypoint location {{WpCo|A Waypoint Location|912|456}} can be used inline too.

A waypoint location caption = A Waypoint Location A Waypoint Location X: 912 Y: 456 can be used inline too.