Difference between revisions of "Template:Card"

From The Fansus
Jump to: navigation, search
m
 
Line 1: Line 1:
<includeonly><div style="border: solid 3px #000000; border-radius: 10px; box-shadow: -3px 3px 2px rgba(0, 0, 0, 0.6); display: inline-block; overflow: hidden; width: 200px;"><div style="height: 200px; overflow: hidden; width: 200px;">{{#ifexist: {{{image|}}} | [[{{{image}}}|200px]] | [[File:FNORD.png|200x200px|link=]] }}</div><div style="background: radial-gradient(#ffffff, #fcffd5); display: flex; flex-direction: column; font-family: 'Philosopher', serif; font-size: calc(2vw); font-weight: 900; height: 80px; justify-content: center; line-height: 1; text-align: center; vertical-align: bottom; width: 200px;">{{{title}}}</div></div></includeonly>
+
<includeonly><div style="border: solid 3px #000000; border-radius: 10px; box-shadow: -3px 3px 2px rgba(0, 0, 0, 0.6); display: inline-block; overflow: hidden; width: 200px;"><div style="height: 200px; overflow: hidden; width: 200px;">{{#ifexist: {{{image|}}} | [[{{{image}}}|200px]] | [[File:FNORD.png|200x200px|link=]] }}</div><div style="background: radial-gradient(#ffffff, #fcffd5); display: flex; flex-direction: column; font-family: 'Philosopher', serif; font-size: 24px; font-weight: 900; height: 80px; justify-content: center; line-height: 1; text-align: center; vertical-align: bottom; width: 200px;">{{{title}}}</div></div></includeonly>
 
<noinclude>The '''Card''' template can be used to insert a CS-styled card in an article. To insert it in a page, use the following code:
 
<noinclude>The '''Card''' template can be used to insert a CS-styled card in an article. To insert it in a page, use the following code:
 
<pre>{{Card
 
<pre>{{Card

Latest revision as of 00:28, 11 July 2018

The Card template can be used to insert a CS-styled card in an article. To insert it in a page, use the following code:

{{Card
| image       =
| title       =
}}

Example:

FNORD.png
Neville, an acquaintance