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 »

Guild Wars Wiki en français
Aller à la navigation Aller à la recherche
m
m
 
(7 versions intermédiaires par le même utilisateur non affichées)
Ligne 4 : Ligne 4 :


-->{{ #set: Se situe sur le continent={{{continent}}}}}<!--
-->{{ #set: Se situe sur le continent={{{continent}}}}}<!--
-->{{ #set: Se situe dans la région={{{region}}}}}<!--
-->{{ #if: {{{region|}}} | {{ #set: Se situe dans la région={{{region}}}}} |}}<!--
-->{{ #set: Se situe dans la zone={{{lieu}}}}}<!--
-->{{ #if: {{{lieu|}}}  | {{ #set: Se situe dans la zone={{{lieu}}}}} |}}<!--
-->{{ #if: {{{niveau|}}} | {{ #set: Se situe au niveau={{{niveau}}}}} |}}<!--


-->{{ #if: {{{position|}}} | {{lieu|{{{lieu}}}}}
-->{{ #if: {{{position|}}} | {{lieu|{{{lieu}}}}}<!--
<gwcarto position="{{{position|}}}" center="{{{position|}}}" zoom="5"></gwcarto>
    -->{{ #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>
<table>
Ligne 14 : Ligne 35 :
     <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; text-align: center; vertical-align: middle;">[[Fichier:{{{nom|{{PAGENAME}}}}}-{{#replace:{{{lieu}}}|/|-}}.jpg|{{{lieu}}}|left|thumb|200px]]</td>
     <td style="width: auto; vertical-align: top;">
     <td style="width: auto; vertical-align: top;">
* '''[[Continent]]''' : [[Se situe sur le continent::{{{continent}}}]]
* '''[[Continent]]''' : [[{{{continent}}}]]
** '''[[Région]]''' : [[Se situe dans la région::{{{region}}}]]
** '''[[Région]]''' : [[{{{region}}}]]
*** '''[[Se situe dans la zone::{{{lieu}}}]]'''
*** '''[[{{{lieu}}}]]'''
{{ #if: {{{precision|}}} |{{{precision}}}|}}<!--
{{ #if: {{{precision|}}} |{{{precision}}}|}}<!--
     --></td>
     --></td>

Version actuelle datée du 18 juin 2019 à 20:22

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...
}}
Cité d'Ascalon (Eden)
Des précisions sur la localisation...