Template:WpCo: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Basic template for adding waypoint data to pages with a bit of flair, with minimal keystrokes.)
 
m (Slightly increased icon size)
 
(4 intermediate revisions by one other user not shown)
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}} | 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>
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.




{{C|<nowiki>{{User:Llamageddon/WpCo|A Waypoint Location}}</nowiki>}}
{{C|<nowiki>{{WpCo|A Waypoint Location}}</nowiki>}}


{{User:Llamageddon/WpCo|A Waypoint Location}}
{{WpCo|A Waypoint Location}}




{{C|<nowiki>{{User:Llamageddon/WpCo|A Waypoint Location|234|678}}</nowiki>}}
{{C|<nowiki>{{WpCo|A Waypoint Location|234|678}}</nowiki>}}


{{C|<nowiki>{{User:Llamageddon/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|567|123}}</nowiki>}}


{{User:Llamageddon/WpCo|A Waypoint Location|234|678}}
{{WpCo|A Waypoint Location|234|678}}


{{User:Llamageddon/WpCo|Another Waypoint Location|123|5678}}</noinclude>
:{{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>

Latest revision as of 20:05, 12 August 2024

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|567|123}}

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

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


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.