User:Eviand/TemplateTesting: Difference between revisions
From SpiritVale Wiki
More actions
Line 20: | Line 20: | ||
|} | |} | ||
=== Example === | === Example 1 === | ||
Old version | |||
{| class="infobox" style="width:275px; font-size:90%; border:2px solid #372b54; background:#f7f7fa; border-radius:12px; box-shadow:0 2px 6px rgba(0,0,0,0.25);" | {| class="infobox" style="width:275px; font-size:90%; border:2px solid #372b54; background:#f7f7fa; border-radius:12px; box-shadow:0 2px 6px rgba(0,0,0,0.25);" | ||
Line 38: | Line 40: | ||
|} | |} | ||
=== Example 2 === | |||
This one is much more appropriate, and feels a lot easier to use. Will be for classes only. | |||
<noinclude>[[Category:Templates]]</noinclude> | |||
{| class="infobox" style="float:right; width:275px; font-size:90%; border:2px solid #372b54; background:#f7f7fa; border-radius:12px; box-shadow:0 2px 6px rgba(0,0,0,0.25);" | |||
|- | |||
! colspan="2" style="background:linear-gradient(180deg,#5a4e7c,#372b54); color:white; text-align:center; padding:6px; font-size:110%; border-top-left-radius:10px; border-top-right-radius:10px;" | | |||
'''Class Overview'''<br /> | |||
|- | |||
| style="background:#e6e3f0; font-weight:bold; width:35%;" | Role | |||
| style="background:#ffffff;" | {{{Role}}} | |||
|- | |||
| style="background:#e6e3f0; font-weight:bold;" | Primary Stats | |||
| style="background:#ffffff;" | {{{Stats}}} | |||
|- | |||
| style="background:#e6e3f0; font-weight:bold;" | Weapons | |||
| style="background:#ffffff;" | {{{Weapons}}} | |||
|} | |||
==Fun Class Template Idea== | ==Fun Class Template Idea== |