Pour pouvoir importer des images sur le serveur et consulter le wiki sans publicité, vous devez vous connecter.
Différences entre les versions de « Modèle:Localisation »
Aller à la navigation
Aller à la recherche
m |
|||
Ligne 9 : | Ligne 9 : | ||
-->{{ #if: {{{position|}}} | {{lieu|{{{lieu}}}}}<!-- | -->{{ #if: {{{position|}}} | {{lieu|{{{lieu}}}}}<!-- | ||
-->{{ #if: {{{precision|}}} | <br>{{{precision}}} |}} | -->{{ #if: {{{precision|}}} | <br>{{{precision}}} |}} | ||
<gwcarto position="{{{position|}}}" center="{{{position|}}}" zoom="5"></gwcarto> | <gwcarto position="{{{position|}}}" name="{{PAGENAME}}" area="{{{lieu}}}" center="{{{position|}}}" zoom="5"></gwcarto><!-- | ||
== NOTES == | |||
* "zoom" is the user defined zoom, | |||
it could be overriden by gwcarto automatically (if agent is a polygon, a geom collection etc... -> zoom to extent!) | |||
* "center" is the user defined focus center, | |||
gwcarto will focus the agent location (if it is a point, otherwise it focus on the center of the feature/collection extent) | |||
* "position" defines an exact agent position (how to deals with multipoints, polygon and collection?) | |||
-> do not use "position" and use only "area" and/or "center" to get the focus? | |||
* "area" can be a zone, region or continent... focus, zoom and center should be defined by area (area extent) if these properties are not defined by user... | |||
* "name" is used to search an agent by name and display all its positions, and zoom to the extent of all these positions... | |||
--> | |||
| | | | ||
<table> | <table> |
Version du 18 juin 2019 à 03:30
Description
Ce modèle sert à décrire la localisation d'un boss, PNJ ou tout autre chose.
Syntaxe
{{localisation | continent = nom_du_continent | region = nom_de_la_region | lieu = nom_du_lieu | precision = | position = [0, 0] }}
Exemples
{{localisation | continent = Tyrie | region = Ascalon (Eden) | lieu = Cité d'Ascalon (Eden) | precision = Des précisions sur la localisation... }}
Des précisions sur la localisation... |