Diferenças entre edições de "Predefinição:Infobox fish"
Saltar para a navegação
Saltar para a pesquisa
(sync with english template) |
(sync with english template) |
||
Linha 4: | Linha 4: | ||
-->{{#arraydefine:$lang_information | Informação }}<!-- | -->{{#arraydefine:$lang_information | Informação }}<!-- | ||
-->{{#arraydefine:$lang_foundin | Local(is) }}<!-- | -->{{#arraydefine:$lang_foundin | Local(is) }}<!-- | ||
+ | -->{{#arraydefine:$lang_source | Origem }}<!-- | ||
-->{{#arraydefine:$lang_time | Hora }}<!-- | -->{{#arraydefine:$lang_time | Hora }}<!-- | ||
-->{{#arraydefine:$lang_season | Estação }}<!-- | -->{{#arraydefine:$lang_season | Estação }}<!-- | ||
Linha 13: | Linha 14: | ||
-->{{#arraydefine:$lang_fishing | Pesca }}<!-- | -->{{#arraydefine:$lang_fishing | Pesca }}<!-- | ||
-->{{#arraydefine:$lang_fishsize | Tamanho (cm)}}<!-- | -->{{#arraydefine:$lang_fishsize | Tamanho (cm)}}<!-- | ||
+ | -->{{#arraydefine:$lang_fishingxp | Pesca XP }}<!-- | ||
-->{{#arraydefine:$lang_xp | Pontos de XP}}<!-- | -->{{#arraydefine:$lang_xp | Pontos de XP}}<!-- | ||
-->{{#arraydefine:$lang_healingeffect | Efeito de Cura }}<!-- | -->{{#arraydefine:$lang_healingeffect | Efeito de Cura }}<!-- | ||
Linha 35: | Linha 37: | ||
// set usemetric to true (or any nonempty value) if metric units should be used for fish size | // set usemetric to true (or any nonempty value) if metric units should be used for fish size | ||
-->{{#arraydefine:$lang_usemetric |true}}<!-- | -->{{#arraydefine:$lang_usemetric |true}}<!-- | ||
+ | -->{{#arraydefine:$lang_size_delim | - }}<!-- | ||
// END of translations | // END of translations | ||
Linha 45: | Linha 48: | ||
| colspan="2" style="padding-bottom:5px; text-align: center;" | {{Autoimage|{{{image|}}}|eng={{{eng|}}}}} | | colspan="2" style="padding-bottom:5px; text-align: center;" | {{Autoimage|{{{image|}}}|eng={{{eng|}}}}} | ||
|- | |- | ||
− | | colspan="2" id="infoboxdetail" style="text-align: center | + | | colspan="2" id="infoboxdetail" style="text-align:center;" | {{Italics|{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}}}} |
|- | |- | ||
− | | colspan="2" id="infoboxsection" style="text-align:center;" | {{#arrayprint:$lang_information}}{{#if:{{{ | + | | colspan="2" id="infoboxsection" style="text-align:center;" | {{#arrayprint:$lang_information}}{{#if:{{{source|}}}|<nowiki/> |
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_foundin}} | + | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_source}}{{Colon}} |
+ | {{!}} id="infoboxdetail" {{!}} {{#ifexist:{{{source|}}}|[[{{{source|}}}]]|{{{source|}}}}} | ||
+ | }}{{#if:{{{location|}}} |<nowiki /> | ||
+ | {{!}}- | ||
+ | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_foundin}}{{Colon}} | ||
{{!}} id="infoboxdetail" {{!}} {{#ifexist:{{{location|}}}|[[{{{location|}}}]]|{{{location|}}}}} | {{!}} id="infoboxdetail" {{!}} {{#ifexist:{{{location|}}}|[[{{{location|}}}]]|{{{location|}}}}} | ||
}}{{#if:{{{time|}}} |<nowiki /> | }}{{#if:{{{time|}}} |<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_time}} | + | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_time}}{{Colon}} |
{{!}} id="infoboxdetail" {{!}} {{{time|}}} | {{!}} id="infoboxdetail" {{!}} {{{time|}}} | ||
}}{{#if:{{{season|}}} |<nowiki /> | }}{{#if:{{{season|}}} |<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_season}} | + | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_season}}{{Colon}} |
{{!}} id="infoboxdetail" {{!}} {{Season|{{{season}}}}} | {{!}} id="infoboxdetail" {{!}} {{Season|{{{season}}}}} | ||
}}{{#if:{{{weather|}}} |<nowiki /> | }}{{#if:{{{weather|}}} |<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_weather}} | + | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_weather}}{{Colon}} |
{{!}} id="infoboxdetail" {{!}} {{Weather inline|{{{weather}}}}} | {{!}} id="infoboxdetail" {{!}} {{Weather inline|{{{weather}}}}} | ||
}}{{#if:{{{difficulty|}}} |<nowiki /> | }}{{#if:{{{difficulty|}}} |<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_difficulty}} | + | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_difficulty}}{{Colon}} |
{{!}} id="infoboxdetail" {{!}} {{{difficulty|}}} | {{!}} id="infoboxdetail" {{!}} {{{difficulty|}}} | ||
}}{{#if:{{{behavior|}}} |<nowiki /> | }}{{#if:{{{behavior|}}} |<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} [[{{#arrayprint:$lang_behaviorlink}}|<span style="color: white;">{{#arrayprint:$lang_behavior}}</span>]] | + | {{!}} id="infoboxsection" {{!}} [[{{#arrayprint:$lang_behaviorlink}}|<span style="color: white;">{{#arrayprint:$lang_behavior}}</span>]]{{Colon}} |
{{!}} id="infoboxdetail" {{!}} {{ParseInputValues|code=behav|{{{behavior|}}}|default=true|translate=true}} | {{!}} id="infoboxdetail" {{!}} {{ParseInputValues|code=behav|{{{behavior|}}}|default=true|translate=true}} | ||
}}{{#if:{{{fl|}}}|<nowiki /> | }}{{#if:{{{fl|}}}|<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} [[{{#arrayprint:$lang_fishing}}|<span style="color: white;">{{#arrayprint:$lang_levelrequired}}</span>]] | + | {{!}} id="infoboxsection" {{!}} [[{{#arrayprint:$lang_fishing}}|<span style="color: white;">{{#arrayprint:$lang_levelrequired}}</span>]]{{Colon}} |
{{!}} id="infoboxdetail {{!}} {{{fl|}}} | {{!}} id="infoboxdetail {{!}} {{{fl|}}} | ||
}}{{#if:{{{size|}}}|<nowiki /> | }}{{#if:{{{size|}}}|<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_fishsize}} | + | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_fishsize}}{{Colon}} |
{{!}} id="infoboxdetail" {{!}} <!-- | {{!}} id="infoboxdetail" {{!}} <!-- | ||
-->{{#if:{{#arrayprint:$lang_usemetric}} | -->{{#if:{{#arrayprint:$lang_usemetric}} | ||
| {{#if:{{#pos:{{{size|}}}|-}} | | {{#if:{{#pos:{{{size|}}}|-}} | ||
− | | {{#expr:{{#explode:{{{size|}}}|-|0}}*2.54 round 0}} | + | | {{#expr:{{#explode:{{{size|}}}|-|0}}*2.54 round 0}} {{#arrayprint:$lang_size_delim}} {{#expr:{{#explode:{{{size|}}}|-|1}}*2.54 round 0}} |
| {{#expr:{{{size|}}}*2.54 round 0}}}} | | {{#expr:{{{size|}}}*2.54 round 0}}}} | ||
| {{{size|}}} | | {{{size|}}} | ||
− | }}}}{{#if:{{{difficulty|}}}|<nowiki /> | + | }}}}{{#if:{{{xp|}}}|<nowiki /> |
+ | {{!}}- | ||
+ | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_xp}}{{Colon}} | ||
+ | {{!}} id="infoboxdetail" {{!}} {{{xp|}}} | ||
+ | }}{{#if:{{{difficulty|}}}|<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$ | + | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_fishingxp}}{{Colon}} |
{{!}} id="infoboxdetail" {{!}}<!-- | {{!}} id="infoboxdetail" {{!}}<!-- | ||
--> {{#arraydefine:$legendary|{{ParseInputValues|code=legend|{{{eng|{{{name|{{PAGENAME}}}}}}}}}}}}<!-- | --> {{#arraydefine:$legendary|{{ParseInputValues|code=legend|{{{eng|{{{name|{{PAGENAME}}}}}}}}}}}}<!-- | ||
Linha 106: | Linha 117: | ||
{{!}} id="infoboxdetail" {{!}} {{Edibility |{{{edibility|}}} |quality={{{quality|{{{healq|true}}}}}} |iridium={{{iridium|}}} |statistics=Health}} | {{!}} id="infoboxdetail" {{!}} {{Edibility |{{{edibility|}}} |quality={{{quality|{{{healq|true}}}}}} |iridium={{{iridium|}}} |statistics=Health}} | ||
|<nowiki/> | |<nowiki/> | ||
− | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_healingeffect}} | + | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_healingeffect}}{{Colon}} |
{{!}} id="infoboxdetail" {{!}} {{Edibility |{{{edibility|}}} |quality={{{quality|{{{healq|true}}}}}} |iridium={{{iridium|}}}}} | {{!}} id="infoboxdetail" {{!}} {{Edibility |{{{edibility|}}} |quality={{{quality|{{{healq|true}}}}}} |iridium={{{iridium|}}}}} | ||
}}}}<!-- | }}}}<!-- |
Revisão das 22h47min de 8 de outubro de 2020
Consulte a página de documentação em inglês para obter detalhes sobre este predefinição.
Uso
Este modelo pode ser usado inserindo o seguinte em uma página relevante.
{{Infobox fish}}
Resulta em...
Predefinição:ParseInputValuesPredefinição:ParseInputValues
Infobox fish | |
Predefinição:Autoimage | |
Predefinição:Italics | |
InformaçãoPredefinição:Infosection price |
Errr: {{#seo:}} deve conter pelo menos um atributo não vazio.