Template:Wikichievements/Card: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Undo revision 398863 by N0one (talk))
Tag: Undo
Line 1: Line 1:
<noinclude>{{Doc}}</noinclude>
{{Doc}}
{{#ifeq:{{ROOTPAGENAME}}|{{Wikichievements/Data|wikichievement={{{id|}}}}}
<onlyinclude>{{#ifeq:{{ROOTPAGENAME}}|{{Wikichievements/Data|wikichievement={{{id|}}}}}
|{{#if:{{{mini|}}}|<div style="display:flex; justify-content:center; align-items:center; min-width:60px; width:60px; height:60px; background:{{{picturebg|#404040}}}; border-radius:4px; overflow:hidden; user-select:none">{{#if:{{{img|}}}|[[File:{{{img}}}|{{{imgsize-mini|44px}}}|link=|{{{1|}}}]]|[[File:icon-panorama.png|28px|link=|{{{1|}}}]]}}</div>|<div style="display:flex; background-color:#303030; border:1px solid rgba(255,255,255,.1); border-radius:6px; padding:10px">
|{{#if:{{{mini|}}}|<div style="display:flex; justify-content:center; align-items:center; min-width:60px; width:60px; height:60px; background:{{{picturebg|#404040}}}; border-radius:4px; overflow:hidden; user-select:none">{{#if:{{{img|}}}|[[File:{{{img}}}|{{{imgsize-mini|44px}}}|link=|{{{1|}}}]]|[[File:icon-panorama.png|28px|link=|{{{1|}}}]]}}</div>|<div style="display:flex; background-color:#303030; border:1px solid rgba(255,255,255,.1); border-radius:6px; padding:10px">
<div style="display:flex; justify-content:center; align-items:center; min-width:80px; width:80px; height:80px; background:{{{picturebg|#404040}}}; border-radius:4px; overflow:hidden; user-select:none; margin-right:8px">{{#if:{{{img|}}}|[[File:{{{img}}}|{{{imgsize|80px}}}|link=|{{{1|}}}]]|[[File:icon-panorama.png|60px|link=|{{{1|}}}]]}}</div>
<div style="display:flex; justify-content:center; align-items:center; min-width:80px; width:80px; height:80px; background:{{{picturebg|#404040}}}; border-radius:4px; overflow:hidden; user-select:none; margin-right:8px">{{#if:{{{img|}}}|[[File:{{{img}}}|{{{imgsize|80px}}}|link=|{{{1|}}}]]|[[File:icon-panorama.png|60px|link=|{{{1|}}}]]}}</div>
Line 14: Line 14:
</div>
</div>
</div>}}
</div>}}
}}
}}</onlyinclude>

Revision as of 08:13, 4 May 2024

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history
A prepared panel for the user's subpage. Templates like {{User page}} will use their own unique panels with limited or extended information about the wikichievement.