Diferenças entre edições de "Predefinição:Infobox fish"
Saltar para a navegação
Saltar para a pesquisa
m |
|||
Linha 52: | Linha 52: | ||
| colspan="2" id="infoboxsection" style="text-align:center;" | {{#arrayprint:$lang_information}}{{#if:{{{source|}}}|<nowiki/> | | colspan="2" id="infoboxsection" style="text-align:center;" | {{#arrayprint:$lang_information}}{{#if:{{{source|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_source}} | + | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_source}}: |
{{!}} id="infoboxdetail" {{!}} {{#ifexist:{{{source|}}}|[[{{{source|}}}]]|{{{source|}}}}} | {{!}} id="infoboxdetail" {{!}} {{#ifexist:{{{source|}}}|[[{{{source|}}}]]|{{{source|}}}}} | ||
}}{{#if:{{{location|}}} |<nowiki /> | }}{{#if:{{{location|}}} |<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_foundin}} | + | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_foundin}}: |
{{!}} 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}}: |
{{!}} id="infoboxdetail" {{!}} {{{time|}}} | {{!}} id="infoboxdetail" {{!}} {{{time|}}} | ||
}}{{#if:{{{season|}}} |<nowiki /> | }}{{#if:{{{season|}}} |<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_season}} | + | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_season}}: |
{{!}} id="infoboxdetail" {{!}} {{#iferror: {{Season|{{{season}}}}} | {{{season|}}} | {{Season|{{{season}}}}} }} | {{!}} id="infoboxdetail" {{!}} {{#iferror: {{Season|{{{season}}}}} | {{{season|}}} | {{Season|{{{season}}}}} }} | ||
}}{{#if:{{{weather|}}} |<nowiki /> | }}{{#if:{{{weather|}}} |<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_weather}} | + | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_weather}}: |
{{!}} id="infoboxdetail" {{!}} {{#iferror: {{Weather inline|{{{weather|}}}}} | {{{weather|}}} | {{Weather inline|{{{weather|}}}}} }} | {{!}} id="infoboxdetail" {{!}} {{#iferror: {{Weather inline|{{{weather|}}}}} | {{{weather|}}} | {{Weather inline|{{{weather|}}}}} }} | ||
}}{{#if:{{{difficulty|}}} |<nowiki /> | }}{{#if:{{{difficulty|}}} |<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_difficulty}} | + | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_difficulty}}: |
{{!}} 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>]]: |
{{!}} id="infoboxdetail" {{!}} {{ParseInputValues|code=behav|{{{behavior|}}}|default=true|translate=true|vary_end=true}} | {{!}} id="infoboxdetail" {{!}} {{ParseInputValues|code=behav|{{{behavior|}}}|default=true|translate=true|vary_end=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>]]: |
{{!}} id="infoboxdetail {{!}} {{{fl|}}} | {{!}} id="infoboxdetail {{!}} {{{fl|}}} | ||
}}{{#if:{{{size|}}}|<nowiki /> | }}{{#if:{{{size|}}}|<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_fishsize}} | + | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_fishsize}}: |
{{!}} id="infoboxdetail" {{!}} <!-- | {{!}} id="infoboxdetail" {{!}} <!-- | ||
-->{{#if:{{#arrayprint:$lang_usemetric}} | -->{{#if:{{#arrayprint:$lang_usemetric}} | ||
Linha 93: | Linha 93: | ||
}}}}{{#if:{{{xp|}}}|<nowiki /> | }}}}{{#if:{{{xp|}}}|<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_xp}} | + | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_xp}}: |
{{!}} id="infoboxdetail" {{!}} {{{xp|}}} | {{!}} id="infoboxdetail" {{!}} {{{xp|}}} | ||
}}{{#if:{{{difficulty|}}}|<nowiki /> | }}{{#if:{{{difficulty|}}}|<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_fishingxp}} | + | {{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_fishingxp}}: |
{{!}} id="infoboxdetail" {{!}}<!-- | {{!}} id="infoboxdetail" {{!}}<!-- | ||
--> {{#arraydefine:$legendary|{{ParseInputValues|code=legend|{{{eng|{{{name|{{PAGENAME}}}}}}}}}}}}<!-- | --> {{#arraydefine:$legendary|{{ParseInputValues|code=legend|{{{eng|{{{name|{{PAGENAME}}}}}}}}}}}}<!-- | ||
Linha 117: | 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}}: |
{{!}} id="infoboxdetail" {{!}} {{Edibility |{{{edibility|}}} |quality={{{quality|{{{healq|true}}}}}} |iridium={{{iridium|}}}}} | {{!}} id="infoboxdetail" {{!}} {{Edibility |{{{edibility|}}} |quality={{{quality|{{{healq|true}}}}}} |iridium={{{iridium|}}}}} | ||
}}}}<!-- | }}}}<!-- |
Revisão das 00h47min de 27 de maio de 2022
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 |
Exemplo
Este modelo pode ser usado inserindo o seguinte em uma página relevante.
{{Infobox fish |name = Anchova |eng = Anchovy |location = Oceano |time = Qualquer |season = Primavera, Outono |weather = Qualquer |difficulty = 30 |behavior = Dart |size = 1-17 |price = 30 |edibility = 5 |iridium = true }}
Resulta em...
Predefinição:ParseInputValuesPredefinição:ParseInputValues
Anchova | |
Predefinição:Autoimage | |
Predefinição:Italics | |
Informação | |
Local(is): | Oceano |
Hora: | Qualquer |
Estação: | Primavera, Outono |
Tempo: | Qualquer |
Dificuldade: | 30 |
Comportamento: | Predefinição:ParseInputValues |
Tamanho (cm): | 3-43 |
Pesca XP: | [[File:Predefinição:ParseInputQuality Quality.png|14px|link=|alt=Predefinição:ParseInputQuality]] Erro de expressão: Falta operando para * |
Efeito de Cura | |
Predefinição:Edibility | Predefinição:EdibilityPredefinição:Infosection price |