Template:Hero Navbox: Difference between revisions

Sur (talk | contribs)
m forward lang_code parameter
No edit summary
 
(26 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<includeonly>{|style="display:inline;border: 2px solid transparent;margin-top:10px;margin-bottom:10px;background-color:transparent;margin: auto;"
<templatestyles src="Template:Hero Navbox/styles.css" />
|-
<includeonly>
|style="display:block;border-radius: 8px;text-align: center; background-image: linear-gradient(#c1a671, #d0bb95); font-family: 'PT Serif','Palatino','Georgia',serif; font-size:22px;"| [[Hero|<span style="color:#FFF5E8; font-family: 'Retail Demo', 'PT Serif','Palatino','Georgia',serif; font-weight:bold; text-shadow: 1px 1px rgba(0, 0, 0, 0.3);">Heroes</span>]]
<div class="heronav-header">Heroes</div>
|-
<div style="display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-bottom:5px;flex:1">
| <div style="display: flex; flex-wrap: wrap; gap: 3px; align-items: center; justify-content: center; margin: auto;">
{{#invoke:HeroData/nav|get_hero_nav_cards
{{#invoke:HeroData/nav|get_hero_nav_cards
|in_herolabs=false
|in_herolabs=false
|text_size={{{text_size|10}}}
|text_size={{{text_size|15}}}
|card_size={{{card_size|88}}}
|card_size={{{card_size|80}}}  
|sticker_size={{{sticker_size|30}}}
|sticker_size={{{sticker_size|30}}}
|herolabs_text_size={{{herolabs_text_size|6}}}
|herolabs_text_size={{{herolabs_text_size|6}}}
Line 13: Line 12:
}}
}}
</div>
</div>
|}
</includeonly><noinclude>{{Documentation}}</noinclude>
 
{|style="display:inline;border: 2px solid transparent;margin-top:10px;margin-bottom:10px;background-color:transparent;margin: auto;"
|-
|style="border-radius: 8px;text-align: center; background-image: linear-gradient(#ce9b54, #674915); font-family: 'PT Serif','Palatino','Georgia',serif; font-size:22px;"| [[Hero Labs|<span style="color:#FFF0D6; font-family: 'Retail Demo', 'PT Serif','Palatino','Georgia',serif; font-weight:bold; text-shadow: 1px 1px rgba(0, 0, 0, 0.3); display: flex; justify-content: center; align-items: center;">Hero Labs</span>]]
|-
| <div style="display: flex; flex-wrap: wrap; gap: 3px; align-items: center; justify-content: center; margin: 0 auto;">
{{#invoke:HeroData/nav|get_hero_nav_cards
|in_herolabs=true
|text_size={{{text_size|10}}}
|card_size={{{card_size|88}}}
|sticker_size={{{sticker_size|30}}}
|herolabs_text_size={{{herolabs_text_size|6}}}
|lang_code={{{lang_code|en}}}
}}
</div>
|}</includeonly><noinclude>{{Documentation}}</noinclude>