Template:Launchpad Card: Difference between revisions

No edit summary
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 2: Line 2:
<div class="launchcard-main" style="background-color:{{{5}}}">
<div class="launchcard-main" style="background-color:{{{5}}}">
<div class="launchcard-text" >
<div class="launchcard-text" >
<div class="launchcard-icon">  <i class="fa {{{4}}}" style="color:{{{5}}} !important"></i></div>
<div class="launchcard-icon">  <i class="{{{4}}}" style="color:{{{5}}}"></i></div>
<h3 class="launchcard-head" style="color:{{{6}}}">{{{2}}}</h3>
<h3 class="launchcard-head" style="color:{{{6}}}">{{{2}}}</h3>
<p class="launchcard-sub" style="color:{{{6}}}">{{{3}}}</p>
<p class="launchcard-sub" style="color:{{{6}}}">{{{3}}}</p>
</div>
</div>
</div>
</div>
]]
]]<noinclude>
<br><br><br><br>
To use this Template, insert the following code:
<pre>
{{Launchpad Card
|1=Internal Page Name
|2=Header Text
|3=Subheader Text
|4=Font Awesome class (e.g. fas fa-bath)
|5=Card color
|6=Text color
}}
</pre>
This uses [[FontAwesome]] for the icons. This is part of the [[Launchpad]] effort to make cool pages more easily accessible. If ever you want to change classes, do so carefully by navigating to [[:Mediawiki:Common.css]]<br>
''Note: this is stylized to ideally retain the 280px : 110px ratio for boxes. If text begins to spill over it'll start looking chunky and bad cause of the <code>float</code> properties.''<br>
'''See also:''' [[Template:Launchpad Box]]
</noinclude>