Diferencia entre revisiones de «Plantilla:Toponym link»

De La Coppermind
Ir a la navegación Ir a la búsqueda
m
 
(No se muestran 5 ediciones intermedias de 2 usuarios)
Línea 1: Línea 1:
{{#switch:{{lc:{{{1}}}|}}<!--
+
<includeonly>{{#if:{{toponym|{{{1}}}}}<!--
  +
-->|[[{{toponym|{{{1}}}|link=y}}|{{ucfirst:{{toponym|{{{1}}}}}}}]]<!--
  +
-->|[[{{{1}}}]]
 
}}</includeonly><noinclude>[[category: link macros]]
   
  +
This template generates a link to a location for infoboxes, capitalizing the first letter and handling any cases where the link target is different from the display text (e.g., when the name of the location is [[:category: disambiguation pages|ambiguous]] with another page). If the location is not listed at {{t|toponym}}, it returns a standard link.
-->|final empire=El Imperio Final<!--
 
-->|elendel basin=Cuenca de Elendel<!--
 
-->|roughs=Los Áridos<!--
 
 
-->|horneater|horneaters|unkalaki|horneater peaks=Picos Comecuernos<!--
 
-->|purelake|purelaker|purelakers=Lagopuro<!--
 
-->|reshi|reshi isles=Islas Reshi<!--
 
-->|shattered plains=Llanuras Quebradas<!--
 
-->|alethi warcamps=Campamentos de guerra<!--
 
 
-->|forests of hell=Bosques del Infierno<!--
 
-->|elantris|elantrian|elantrians=Elantris (city)<!--
 
 
-->|lux=Lux (city)<!--
 
 
-->|redawn=ReDawn (planet)<!--
 
-->|evershore=Evershore (planet)<!--
 
 
-->|{{toponym|{{{1}}}|}}<!--
 
 
-->}}<noinclude>[[category: link macros]]
 
 
This template includes all special cases of {{t|toponym}} for pages which need to be made [[:category: disambiguation pages|unambiguous]] or whose display text is otherwise different from the true link.
 
   
 
See also: {{t|toponym}}, {{t|demonym}}, {{t|toponym tag}}
 
See also: {{t|toponym}}, {{t|demonym}}, {{t|toponym tag}}

Revisión actual del 09:32 1 abr 2024


This template generates a link to a location for infoboxes, capitalizing the first letter and handling any cases where the link target is different from the display text (e.g., when the name of the location is ambiguous with another page). If the location is not listed at {{toponym}}, it returns a standard link.

See also: {{toponym}}, {{demonym}}, {{toponym tag}}