Шаблон:Infobox requires — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
(не показаны 4 промежуточные версии этого же участника) | |||
Строка 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}} |
+ | | eod | ||
+ | | end of dragons = {{End of Dragons content}} | ||
+ | | soto | ||
+ | | soo | ||
+ | | secrets of the obscure = {{Secrets of the Obscure content}} | ||
+ | | lws1 | ||
+ | | living world season 1 = {{Living World Season 1 content}} | ||
| lws2 | | lws2 | ||
− | + | | living world season 2 = {{Living World Season 2 content}} | |
− | | living world season 2 | + | | gates of maguuma |
− | + | | entanglement | |
− | + | | the dragon's reach: part 1 | |
− | | gates of maguuma | + | | the dragon's reach: part 2 |
− | | entanglement | + | | echoes of the past |
− | + | | tangled paths | |
− | + | | seeds of truth | |
− | + | | point of no return = {{Living World Season 2 content}} | |
− | |||
− | | 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 = {{Living World Season 2 content | ||
| lws3 | | lws3 | ||
− | + | | living world season 3 = {{Living World Season 3 content}} | |
− | | living world season 3 | + | | out of the shadows |
− | + | | rising flames | |
− | + | | a crack in the ice | |
− | | out of the shadows | + | | the head of the snake |
− | + | | flashpoint | |
− | | rising flames | + | | one path ends = {{Living World Season 3 content}} |
− | |||
− | |||
− | |||
− | | a crack in the ice | ||
− | |||
− | |||
− | |||
− | | the head of the snake | ||
− | |||
− | | flashpoint | ||
− | |||
− | | one path ends = {{Living World Season 3 content | ||
| lws4 | | lws4 | ||
− | + | | living world season 4 = {{Living World Season 4 content}} | |
− | | living world season 4 | + | | daybreak |
− | + | | a bug in the system | |
− | | | + | | long live the lich |
− | | | + | | a star to guide us |
+ | | all or nothing | ||
+ | | war eternal = {{Living World Season 4 content}} | ||
+ | | lws5 | ||
+ | | the icebrood saga | ||
+ | | living world season 5 = {{The Icebrood Saga content}} | ||
+ | | bound by blood | ||
+ | | whisper in the dark | ||
+ | | shadow in the ice | ||
+ | | visions of the past: steel and fire | ||
+ | | no quarter = {{The Icebrood Saga content}} | ||
}}|}}</includeonly><noinclude> | }}|}}</includeonly><noinclude> | ||
+ | == Description == | ||
+ | This template provides an icon in the top-right corner of a page with an infobox to indicate the expansion/release required to access the content. | ||
== Usage == | == 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 [[:Category:Notice templates|notice templates]] directly. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | : | ||
− | : | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <pre> | + | <pre>{{infobox requires|<requires>}}</pre> |
− | {{infobox | ||
− | </pre> | ||
− | == Parameters == | + | === Parameters === |
− | ; | + | ;1 ''(unnamed parameter)'' |
− | :The release required to access the content. | + | :The release required to access the content. Accepted values (ignores case): |
− | + | :* <code>hot</code>, <code>heart of thorns</code> | |
− | : | + | :* <code>pof</code>, <code>path of fire</code> |
− | : | + | :* <code>eod</code>, <code>end of dragons</code> |
− | :: | + | :* <code>soto</code>, <code>soo</code>, <code>secrets of the obscure</code> |
− | : | + | :* <code>lws1</code>, <code>living world season 1</code> |
− | : | + | :* <code>lws2</code>, <code>living world season 2</code> |
− | : | + | :** <code>gates of maguuma</code> |
− | : | + | :** <code>entanglement</code> |
− | : | + | :** <code>the dragon's reach: part 1</code> |
− | : | + | :** <code>the dragon's reach: part 2</code> |
− | : | + | :** <code>echoes of the past</code> |
− | : | + | :** <code>tangled paths</code> |
− | : | + | :** <code>seeds of truth</code> |
− | : | + | :** <code>point of no return</code> |
− | : | + | :* <code>lws3</code>, <code>living world season 3</code> |
− | : | + | :** <code>out of the shadows</code> |
− | : | + | :** <code>rising flames</code> |
− | : | + | :** <code>a crack in the ice</code> |
− | : | + | :** <code>the head of the snake</code> |
− | : | + | :** <code>flashpoint</code> |
− | ::: | + | :** <code>one path ends</code> |
+ | :* <code>lws4</code>, <code>living world season 4</code> | ||
+ | :** <code>daybreak</code> | ||
+ | :** <code>a bug in the system</code> | ||
+ | :** <code>long live the lich</code> | ||
+ | :** <code>a star to guide us</code> | ||
+ | :** <code>all or nothing</code> | ||
+ | :** <code>war eternal</code> | ||
+ | :* <code>lws5</code>, <code>living world season 5</code>, <code>the icebrood saga</code> | ||
+ | :** <code>bound by blood</code> | ||
+ | :** <code>whisper in the dark</code> | ||
+ | :** <code>shadow in the ice</code> | ||
+ | :** <code>visions of the past: steel and fire</code> | ||
+ | :** <code>no quarter</code> | ||
− | == Examples == | + | === Examples === |
<pre> | <pre> | ||
− | {{infobox | + | {{infobox requires|hot}} |
− | + | {{infobox requires|lws2}} | |
− | {{infobox | + | {{infobox requires|out of the shadows}} |
− | {{infobox | ||
Within an infobox | Within an infobox | ||
− | | | + | | requires = hot, lws3 |
</pre> | </pre> | ||
− | {{infobox | + | |
− | {{infobox | + | == Used in == |
− | {{infobox | + | * {{tl|Adventure 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|Location 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> |
Текущая версия на 15:35, 6 сентября 2023
Содержание
Description[править]
This template provides an icon in the top-right corner of a page with an infobox to indicate the expansion/release required to access the content.
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[править]
- 1 (unnamed parameter)
- The release required to access the content. Accepted values (ignores case):
-
hot
,heart of thorns
-
pof
,path of fire
-
eod
,end of dragons
-
soto
,soo
,secrets of the obscure
-
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
-
all or nothing
-
war eternal
-
-
lws5
,living world season 5
,the icebrood saga
-
bound by blood
-
whisper in the dark
-
shadow in the ice
-
visions of the past: steel and fire
-
no quarter
-
-
Examples[править]
{{infobox requires|hot}} {{infobox requires|lws2}} {{infobox requires|out of the shadows}} Within an infobox | requires = hot, lws3
Used in[править]
- {{Adventure infobox}}
- {{Armor infobox}}
- {{Armor set infobox}}
- {{Back item infobox}}
- {{Effect infobox}}
- {{Event infobox}}
- {{Guild upgrade infobox}}
- {{Heart infobox}}
- {{Item infobox}}
- {{Location infobox}}
- {{Mastery infobox}}
- {{NPC infobox}}
- {{Object infobox}}
- {{Pet infobox}}
- {{Skill infobox}}
- {{skin infobox}}
- {{Specialization infobox}}
- {{Story infobox}}
- {{Trait infobox}}
- {{Trinket infobox}}
- {{Upgrade component infobox}}
- {{Weapon infobox}}