Difference between revisions of "Template:Testing"

From Monster Crown Wiki
Jump to: navigation, search
m (AAAH I KEEP FORGETTING THINGS)
(It worked! now I gotta get it to work with type and color)
Line 2: Line 2:
 
|[[{{{Crownie}}}]]
 
|[[{{{Crownie}}}]]
 
|{{#if: {{{Crownie}}} | {{{[[File:{{{Crownie}}} sprite.png]]}}} | [[File:Questionmark sprite.png]]}}
 
|{{#if: {{{Crownie}}} | {{{[[File:{{{Crownie}}} sprite.png]]}}} | [[File:Questionmark sprite.png]]}}
|{{{Type}}}
+
|{{#if: {{{Type}}} | {{{Type}}} | ???}}
| style="background:#{{{Color 1}}}; color:#{{{Color 2}}}; font-family:monospace;" | <div style="text-align: center;">#{{{Color 1}}}</div>
+
|{{#if: {{{Color 1}}} | style="background:#{{{Color 1}}}; color:#{{{Color 2}}}; font-family:monospace;" | <div style="text-align: center;">#{{{Color 1}}}</div> | ???}}
| style="background:#{{{Color 2}}}; color:#{{{Color 1}}}; font-family:monospace;" | <div style="text-align: center;">#{{{Color 2}}}</div>
+
|{{#if: {{{Color 2}}} | style="background:#{{{Color 2}}}; color:#{{{Color 1}}}; font-family:monospace;" | <div style="text-align: center;">#{{{Color 2}}}</div> | ???}}
 
|-
 
|-
 
<noinclude>== Description ==
 
<noinclude>== Description ==

Revision as of 19:23, 4 November 2020

|{{{Number}}} |[[{{{Crownie}}}]] |{{{[[File:{{{Crownie}}} sprite.png]]}}} |{{{Type}}} |style="background:#{{{Color 1}}}; color:#{{{Color 2}}}; font-family:monospace;" |style="background:#{{{Color 2}}}; color:#{{{Color 1}}}; font-family:monospace;" |-

Description

Testing out a template to better organize the crownies page because the code is annoying to work with. Probably part 2 of 3? (A piece for the top, piece for everything in the middle, and piece for the end? This one looks really weird right now, but im going to see if the table pieces itself together once I test it outAfter this is done being tested with, the page can be used to test other templates

To use this template, copy the text below into the top of an article and fill in each section:

{{Crownie page 2
| Number   =
| Crownie  = 
| Type     =
| Color 1  = 
| Color 2  = 
}}
Num Name Sprite Type Color 1 Color 2
{{{Top Left}}} {{{Top Center}}} {{{Top Right}}}
{{{↖}}} {{{↑}}} {{{↗}}}
{{{Center Left}}} {{{←}}} {{{Center}}} {{{→}}} {{{Center Right}}}
{{{↙}}} {{{↓}}} {{{↘}}}
{{{Bottom Left}}} {{{Bottom Center}}} {{{Bottom Right}}}