Category
You're no bot and a page you've created got automatically deleted? Add your name to FreewarWiki:NoSpamUser |
Difference between revisions of "Template:MapMetaDatas/Crossmods"
From FreewarWiki
m (moved Template:MapMetaDate/Crossmods to Template:MapMetaDatas/Crossmods: wrong name oO) |
|||
Line 1: | Line 1: | ||
− | + | <!-- | |
− | | | + | |
− | | | + | crossmod: Modifies the position of the crosshairs in a certain area. |
− | + | X1|Y1|X2|Y2|Horz-left-offset|Horz-width|Vert-top-offset|Vert-height | |
− | + | ||
− | + | -->{{MapMetaDate/Crossmod|0|0|132|109|0|{{#expr:135 - {{#var:TopLeftX}} + 3}}|0|{{#expr:{{#var:Height}} + 3}}|{{{1}}}|X={{{X}}}|Y={{{Y}}}|X2={{{X2}}}|Y2={{{Y2}}}|Prefix={{{Prefix|}}}}}<!-- | |
− | | | + | -->{{MapMetaDate/Crossmod|0|110|132|{{#var:BottomRightY}}|0|{{#expr:{{#var:Width}} + 3}}|0|{{#expr:{{#var:Height}} + 3}}|{{{1}}}|X={{{X}}}|Y={{{Y}}}|X2={{{X2}}}|Y2={{{Y2}}}|Prefix={{{Prefix|}}}}}<!-- |
− | + | -->{{MapMetaDate/Crossmod|133|110|144|{{#var:BottomRightY}}|0|{{#expr:{{#var:Width}} + 3}}|{{#expr:111 - {{#var:TopLeftY}}}}|{{#expr:{{#var:BottomRightY}} - 111 + 3}}|{{{1}}}|X={{{X}}}|Y={{{Y}}}|X2={{{X2}}}|Y2={{{Y2}}}|Prefix={{{Prefix|}}}}}<noinclude> | |
− | + | {{Template Documentation|This template modifies the carosshair on maps in a certain area. This is used to show areas or locations on maps.|This template can be included by using '''<tt><nowiki>{{MapMetaDatas/Crossmods|"X1"|"Y1"|"X2"|"X2"|"Horizontal, left margin"|"Horizontal width"|"Vertical, upper margin"|"Vertical width"}}</nowiki></tt>'''.| | |
− | + | * '''X1:''' Defines the first X-coordinate | |
− | + | * '''Y1:''' Defines the first Y-coordinate | |
− | + | * '''X2:''' Defines the second X-coordinate | |
− | + | * '''Y2:''' Defines the second Y-coordinate | |
− | + | * '''Horiztontal, left margin:''' Defines the margin from the left end of the page for the crosshairs | |
+ | * '''Horiztontal width:''' Defines the horizontal width of the crosshairs | ||
+ | * '''Vertical, upper margin:''' Defines the margin from the upper end of the page for the crosshairs | ||
+ | * '''Vertical width:''' Defines the vertical width of the crosshairs}} | ||
+ | |||
+ | [[Kategorie:Kartenvorlagen|MetaDaten]] | ||
+ | </noinclude> |
Revision as of 20:07, 11 January 2010
Documentation
Usage
This template modifies the carosshair on maps in a certain area. This is used to show areas or locations on maps.
Integration
This template can be included by using {{MapMetaDatas/Crossmods|"X1"|"Y1"|"X2"|"X2"|"Horizontal, left margin"|"Horizontal width"|"Vertical, upper margin"|"Vertical width"}}.
Parameters
- X1: Defines the first X-coordinate
- Y1: Defines the first Y-coordinate
- X2: Defines the second X-coordinate
- Y2: Defines the second Y-coordinate
- Horiztontal, left margin: Defines the margin from the left end of the page for the crosshairs
- Horiztontal width: Defines the horizontal width of the crosshairs
- Vertical, upper margin: Defines the margin from the upper end of the page for the crosshairs
- Vertical width: Defines the vertical width of the crosshairs