Шаблон:Infobox requires — различия между версиями

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
м (Blood переименовал страницу Шаблон:Infobox release в Шаблон:Infobox requires)
Строка 1: Строка 1:
 
<includeonly>{{#arraymap: {{{1}}}|,|@@@|{{#switch: {{lc:@@@}}
 
<includeonly>{{#arraymap: {{{1}}}|,|@@@|{{#switch: {{lc:@@@}}
 
| hot
 
| hot
| heart of thorns = {{Heart of Thorns content}}
+
| heart of thorns           = {{Heart of Thorns content}}
 
| pof
 
| pof
| path of fire = {{Path of Fire content}}
+
| path of fire               = {{Path of Fire content}}
 +
| lws1
 +
| living world season 1      = {{Living World Season 1 content}}
 
| lws2
 
| lws2
| lws 2
+
| living world season 2     = {{Living World Season 2 content}}
| living world season 2
+
| gates of maguuma           = {{Living World Season 2 content|Gates of Maguuma}}
| season 2 = {{Living World Season 2 content}}
+
| entanglement               = {{Living World Season 2 content|Entanglement}}
| gom
 
| gates of maguuma = {{Living World Season 2 content|Gates of Maguuma}}
 
| entanglement = {{Living World Season 2 content|Entanglement}}
 
| dr1
 
| dragon's reach 1
 
| the dragon's reach 1
 
| the dragon's reach part 1
 
 
| the dragon's reach: part 1 = {{Living World Season 2 content|The Dragon's Reach: Part 1}}
 
| the dragon's reach: part 1 = {{Living World Season 2 content|The Dragon's Reach: Part 1}}
| dr2
 
| dragon's reach 2
 
| the dragon's reach 2
 
| the dragon's reach part 2
 
 
| the dragon's reach: part 2 = {{Living World Season 2 content|The Dragon's Reach: Part 2}}
 
| the dragon's reach: part 2 = {{Living World Season 2 content|The Dragon's Reach: Part 2}}
| eotp
+
| echoes of the past         = {{Living World Season 2 content|Echoes of the Past}}
| echoes of the past = {{Living World Season 2 content|Echoes of the Past}}
+
| tangled paths             = {{Living World Season 2 content|Tangled Paths}}
| tp
+
| seeds of truth             = {{Living World Season 2 content|Seeds of Truth}}
| tangled paths = {{Living World Season 2 content|Tangled Paths}}
+
| point of no return         = {{Living World Season 2 content|Point of No Return}}
| sot
 
| seeds of truth = {{Living World Season 2 content|Seeds of Truth}}
 
| ponr
 
| point of no return = {{Living World Season 2 content|Point of No Return}}
 
 
| lws3
 
| lws3
| lws 3
+
| living world season 3     = {{Living World Season 3 content}}
| living world season 3
+
| out of the shadows         = {{Living World Season 3 content|Out of the Shadows}}
| season 3 = {{Living World Season 3 content}}
+
| rising flames             = {{Living World Season 3 content|Rising Flames}}
| oots
+
| a crack in the ice         = {{Living World Season 3 content|A Crack in the Ice}}
| out of the shadows = {{Living World Season 3 content|Out of the Shadows}}
+
| the head of the snake     = {{Living World Season 3 content|The Head of the Snake}}
| rf
+
| flashpoint                 = {{Living World Season 3 content|Flashpoint}}
| rising flames = {{Living World Season 3 content|Rising Flames}}
+
| one path ends             = {{Living World Season 3 content|One Path Ends}}
| citi
+
| lws4  
| aciti
+
| living world season 4     = {{Living World Season 4 content}}
| crack in the ice
+
| daybreak                  = {{Living World Season 4 content|Daybreak}}
| a crack in the ice = {{Living World Season 3 content|A Crack in the Ice}}
+
| a bug in the system        = {{Living World Season 4 content|A Bug in the System}}
| hots
+
| long live the lich        = {{Living World Season 4 content|Long Live the Lich}}
| thots
+
| a star to guide us        = {{Living World Season 4 content|A Star to Guide Us}}
| head of the snake
+
}}|}}</includeonly><noinclude>This template provides an icon in the top-right corner of a page with an infobox to indicate when content was released.
| the head of the snake = {{Living World Season 3 content|The Head of the Snake}}
 
| fp
 
| flashpoint = {{Living World Season 3 content|Flashpoint}}
 
| ope
 
| one path ends = {{Living World Season 3 content|One Path Ends}}
 
| lws4
 
| lws 4
 
| living world season 4
 
| season 4 = {{Living World Season 4 content}}
 
| db
 
| daybreak = {{Living World Season 4 content|Daybreak}}
 
}}|}}</includeonly><noinclude>
 
  
 
== Usage ==
 
== Usage ==
The release indicates the expansion/dlc requires to access the content. Multiple values can be separated by a comma (,). The template is only for use in the infobox, for pages lacking an infobox users should use the [[:Category:Notice templates|notice templates]] directly.
+
Specify the expansion/release required to access the content. Multiple values can be separated by a comma (,).
  
Used in:
+
The template is only for use in an infobox, for pages lacking an infobox users should use [[:Category:Notice templates|notice templates]] directly.
:{{tl|Adventure infobox}}
 
:{{tl|Area infobox}}
 
:{{tl|Armor infobox}}
 
:{{tl|Armor set infobox}}
 
:{{tl|Back item infobox}}
 
:{{tl|Effect infobox}}
 
:{{tl|Event infobox}}
 
:{{tl|Guild upgrade infobox}}
 
:{{tl|Heart infobox}}
 
:{{tl|Item infobox}}
 
:{{tl|Mastery infobox}}
 
:{{tl|NPC infobox}}
 
:{{tl|Object infobox}}
 
:{{tl|Pet infobox}}
 
:{{tl|Skill infobox}}
 
:{{tl|skin infobox}}
 
:{{tl|Specialization infobox}}
 
:{{tl|Story infobox}}
 
:{{tl|Trait infobox}}
 
:{{tl|Trinket infobox}}
 
:{{tl|Upgrade component infobox}}
 
:{{tl|Weapon infobox}}
 
  
<pre>
+
<pre>{{infobox requires|<requires>}}</pre>
{{infobox release|<release>}}
 
</pre>
 
  
 
== Parameters ==
 
== Parameters ==
 
;Unnamed parameter 1
 
;Unnamed parameter 1
:The release required to access the content.
+
:The release required to access the content. Accepted values (ignores case):
:Accepted values (ignores capitals):
+
:* <code>hot</code>, <code>heart of thorns</code>
::hot, heart of thorns
+
:* <code>pof</code>, <code>path of fire</code>
::pof, path of fire
+
:* <code>lws1</code>, <code>living world season 1</code>
::lws2, lws 2, living world season 2, season 2
+
:* <code>lws2</code>, <code>living world season 2</code>
:::gom, gates of maguuma
+
:** <code>gates of maguuma</code>
:::entanglement
+
:** <code>entanglement</code>
:::dr1, dragon's reach 1, the dragon's reach 1, the dragon's reach part 1, the dragon's reach: part 1
+
:** <code>the dragon's reach: part 1</code>
:::dr2, dragon's reach 2, the dragon's reach 2, the dragon's reach part 2, the dragon's reach: part 2
+
:** <code>the dragon's reach: part 2</code>
:::eotp, echoes of the past
+
:** <code>echoes of the past</code>
:::tp, tangled paths
+
:** <code>tangled paths</code>
:::sot, seeds of truth
+
:** <code>seeds of truth</code>
:::ponr, point of no return
+
:** <code>point of no return</code>
::lws3, lws 3, living world season 3, season 3
+
:* <code>lws3</code>, <code>living world season 3</code>
:::oots, out of the shadows
+
:** <code>out of the shadows</code>
:::rf, rising flames
+
:** <code>rising flames</code>
:::citi, aciti, crack in the ice, a crack in the ice
+
:** <code>a crack in the ice</code>
:::hots, thots, head of the snake, the head of the snake
+
:** <code>the head of the snake</code>
:::fp, flashpoint
+
:** <code>flashpoint</code>
:::ope, one path ends
+
:** <code>one path ends</code>
::lws4, lws 4, living world season 4, season 4
+
:* <code>lws4</code>, <code>living world season 4</code>
:::db, daybreak
+
:** <code>daybreak</code>
 +
:** <code>a bug in the system</code>
 +
:** <code>long live the lich</code>
 +
:** <code>a star to guide us</code>
  
 
== Examples ==
 
== Examples ==
 
<pre>
 
<pre>
{{infobox release}}
+
{{infobox requires|hot}}
{{infobox release|hot}}
+
{{infobox requires|lws2}}
{{infobox release|lws2, lws3}}
+
{{infobox requires|out of the shadows}}
{{infobox release|oots}}
 
  
 
Within an infobox
 
Within an infobox
| release = hot, lws3
+
| requires = hot, lws3
 
</pre>
 
</pre>
{{infobox release}}
+
 
{{infobox release|hot}}
+
== Used in ==
{{infobox release|lws2, lws3}}
+
* {{tl|Adventure infobox}}
 +
* {{tl|Area infobox}}
 +
* {{tl|Armor infobox}}
 +
* {{tl|Armor set infobox}}
 +
* {{tl|Back item infobox}}
 +
* {{tl|Effect infobox}}
 +
* {{tl|Event infobox}}
 +
* {{tl|Guild upgrade infobox}}
 +
* {{tl|Heart infobox}}
 +
* {{tl|Item infobox}}
 +
* {{tl|Mastery infobox}}
 +
* {{tl|NPC infobox}}
 +
* {{tl|Object infobox}}
 +
* {{tl|Pet infobox}}
 +
* {{tl|Skill infobox}}
 +
* {{tl|skin infobox}}
 +
* {{tl|Specialization infobox}}
 +
* {{tl|Story infobox}}
 +
* {{tl|Trait infobox}}
 +
* {{tl|Trinket infobox}}
 +
* {{tl|Upgrade component infobox}}
 +
* {{tl|Weapon infobox}}
  
 
[[Category:Infobox subtemplates]]
 
[[Category:Infobox subtemplates]]
 
</noinclude>
 
</noinclude>

Версия 23:27, 17 декабря 2018

This template provides an icon in the top-right corner of a page with an infobox to indicate when content was released.

Usage

Specify the expansion/release required to access the content. Multiple values can be separated by a comma (,).

The template is only for use in an infobox, for pages lacking an infobox users should use notice templates directly.

{{infobox requires|<requires>}}

Parameters

Unnamed parameter 1
The release required to access the content. Accepted values (ignores case):
  • hot, heart of thorns
  • pof, path of fire
  • lws1, living world season 1
  • lws2, living world season 2
    • gates of maguuma
    • entanglement
    • the dragon's reach: part 1
    • the dragon's reach: part 2
    • echoes of the past
    • tangled paths
    • seeds of truth
    • point of no return
  • lws3, living world season 3
    • out of the shadows
    • rising flames
    • a crack in the ice
    • the head of the snake
    • flashpoint
    • one path ends
  • lws4, living world season 4
    • daybreak
    • a bug in the system
    • long live the lich
    • a star to guide us

Examples

{{infobox requires|hot}}
{{infobox requires|lws2}}
{{infobox requires|out of the shadows}}

Within an infobox
| requires = hot, lws3

Used in