Bureaucrates, Vérificateurs IP, emailconfirmed, Administrateurs d’interface, Patrouilleurs, Administrateurs système, Administrateurs (MediaWiki Sémantique), Conservateurs (Médiawiki Sémantique), Administrateurs
55 954
modifications
m |
m |
||
(16 versions intermédiaires par 2 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
<includeonly>{| | <includeonly><!-- | ||
|- | |||
| style="width: auto; text-align: center; vertical-align: middle;" | SMW | ||
-->{{ #set: Se situe sur le continent={{{continent}}}}}<!-- | |||
-->{{ #if: {{{region|}}} | {{ #set: Se situe dans la région={{{region}}}}} |}}<!-- | |||
-->{{ #if: {{{lieu|}}} | {{ #set: Se situe dans la zone={{{lieu}}}}} |}}<!-- | |||
-->{{ #if: {{{niveau|}}} | {{ #set: Se situe au niveau={{{niveau}}}}} |}}<!-- | |||
-->{{ #if: {{{position|}}} | {{lieu|{{{lieu}}}}}<!-- | |||
-->{{ #if: {{{precision|}}} | <br>{{{precision}}} |}} | |||
{{#gwcarto: | |||
| position = {{{position|}}} | |||
| name = {{PAGENAME}} | |||
| continent = {{{continent|Tyrie}}} | |||
| region = {{{region|}}} | |||
| zone = {{{lieu|}}} | |||
| floor = {{{niveau|0}}} | |||
| center = {{{position|}}} | |||
| zoom = 5 | |||
}}<!-- | |||
== 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> | |||
<tr> | |||
<td style="width: auto; text-align: center; vertical-align: middle;">[[Fichier:{{{nom|{{PAGENAME}}}}}-{{#replace:{{{lieu}}}|/|-}}.jpg|{{{lieu}}}|left|thumb|200px]]</td> | |||
<td style="width: auto; vertical-align: top;"> | |||
* '''[[Continent]]''' : [[{{{continent}}}]] | * '''[[Continent]]''' : [[{{{continent}}}]] | ||
** '''[[Région]]''' : [[{{{region}}}]] | ** '''[[Région]]''' : [[{{{region}}}]] | ||
*** '''[[{{{lieu}}}]]''' | *** '''[[{{{lieu}}}]]''' | ||
{{{precision}}} | {{ #if: {{{precision|}}} |{{{precision}}}|}}<!-- | ||
--></td> | |||
</tr> | |||
</table> | |||
}}</includeonly><noinclude>__NOEDITSECTION__ | |||
== Description == | == Description == | ||
Ce modèle sert à décrire la localisation d'un boss, PNJ ou tout autre chose. | Ce modèle sert à décrire la localisation d'un boss, PNJ ou tout autre chose. | ||
Ligne 13 : | Ligne 48 : | ||
== Syntaxe == | == Syntaxe == | ||
<pre> | <pre> | ||
{{ | {{localisation | ||
| continent = nom_du_continent | | continent = nom_du_continent | ||
| region = nom_de_la_region | | region = nom_de_la_region | ||
| lieu = nom_du_lieu | | lieu = nom_du_lieu | ||
| precision = | | precision = | ||
| position = [0, 0] | |||
}} | }} | ||
</pre> | </pre> | ||
Ligne 23 : | Ligne 59 : | ||
== Exemples == | == Exemples == | ||
<pre> | <pre> | ||
{{ | {{localisation | ||
| continent = Tyrie | | continent = Tyrie | ||
| region = Ascalon | | region = Ascalon (Eden) | ||
| lieu = Cité d'Ascalon | | lieu = Cité d'Ascalon (Eden) | ||
| precision = Des précisions sur la localisation... | | precision = Des précisions sur la localisation... | ||
}} | }} | ||
</pre> | </pre> | ||
{{ | {{localisation | ||
| nom = Baron Egan | |||
| continent = Tyrie | | continent = Tyrie | ||
| region = Ascalon | | region = Ascalon (Eden) | ||
| lieu = Cité d'Ascalon | | lieu = Cité d'Ascalon (Eden) | ||
| precision = Des précisions sur la localisation... | | precision = Des précisions sur la localisation... | ||
}} | }} | ||
[[Catégorie:Module]]</noinclude> | [[Catégorie:Module]]</noinclude> |
modifications