Template:Category card: Difference between revisions
Jump to navigation
Jump to search
TeamSpecBot (talk | contribs) Redesign the Main Page: Steam link, page of the day, did you know, picture tiles |
TeamSpecBot (talk | contribs) Redesign the Main Page: Steam link, page of the day, did you know, picture tiles |
||
| Line 1: | Line 1: | ||
<includeonly><div | <includeonly><div style="overflow:hidden;text-align:center;border:1px solid var(--border-color-base,#a2a9b1);border-radius:6px;background:var(--background-color-neutral-subtle,#f8f9fa);"> | ||
<div | <div style="display:flex;align-items:center;justify-content:center;height:7.5em;background:var(--background-color-neutral,#eaecf0);">[[File:{{{image}}}|link={{{link|{{{title}}}}}}|alt=|{{{size|200x110px}}}]]</div> | ||
<div | <div style="padding:0.4em 0.5em 0;font-size:1.15em;font-weight:600;">[[{{{link|{{{title}}}}}}|{{{title}}}]]</div> | ||
<div | <div style="padding:0 0.6em 0.7em;font-size:0.9em;">{{{text|}}}</div> | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
A picture tile for the Main Page. Parameters: <code>title</code> (shown, and the link target unless <code>link</code> is given), <code>image</code> (file name without "File:"), <code>text</code> (one short line), optional <code>link</code>, optional <code>size</code>. | A picture tile for the Main Page. Parameters: <code>title</code> (shown, and the link target unless <code>link</code> is given), <code>image</code> (file name without "File:"), <code>text</code> (one short line), optional <code>link</code>, optional <code>size</code>. | ||
Latest revision as of 22:38, 20 October 2026
A picture tile for the Main Page. Parameters: title (shown, and the link target unless link is given), image (file name without "File:"), text (one short line), optional link, optional size.
{{Category card|title=Weapons|image=Weapon Rocket Launcher.png|text=Every weapon and its stats.}}