Difference between revisions of "Template:Testing"

From Monster Crown Wiki
Jump to: navigation, search
(yeah nah, I can't figure it out. Might have to ask Racie later for help? but in the meantime it looks like those spots might just be left blank)
m (going back to trying to test the #if code, might be a lot of edits ;--; sorry. This time im just putting in the flat code from the help site to see what it does)
Line 1: Line 1:
 
|{{{Number}}}
 
|{{{Number}}}
 
|[[{{{Crownie}}}]]
 
|[[{{{Crownie}}}]]
|[[File: {{{Crownie}}}_sprite.png]]
+
|{{#if: {{{string}}} | {{{yes}}} | {{{no}}}}}
 
|{{{Type}}}
 
|{{{Type}}}
 
| style="background:#{{{Color 1}}}; color:#{{{Color 2}}}; font-family:monospace;" | <div style="text-align: center;">#{{{Color 1}}}</div>
 
| style="background:#{{{Color 1}}}; color:#{{{Color 2}}}; font-family:monospace;" | <div style="text-align: center;">#{{{Color 1}}}</div>
Line 20: Line 20:
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
 +
{| class="wikitable sortable" style="text-align:center;"
 +
!colspan="1"|Num
 +
!colspan="1"|Name
 +
!colspan="1"|Sprite
 +
!colspan="1"|Type
 +
!colspan="1"|Color 1
 +
!colspan="1"|Color 2
 +
|-
 +
{{Testing
 +
| Number  =
 +
| Crownie  =
 +
| Type    =
 +
| Color 1  =
 +
| Color 2  =
 +
}}

Revision as of 18:58, 4 November 2020

|{{{Number}}} |[[{{{Crownie}}}]] |{{{yes}}} |{{{Type}}}

| style="background:#{{{Color 1}}}; color:#{{{Color 2}}}; font-family:monospace;" |
#{{{Color 1}}}
| style="background:#{{{Color 2}}}; color:#{{{Color 1}}}; font-family:monospace;" |
#{{{Color 2}}}

|-

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}}}