Difference between revisions of "Template:Test"

From UnReal World Wiki
Jump to: navigation, search
(Undo revision 690 by Kuu Otava (talk))
(Undo revision 922 by Kuu Otava (talk))
 
(21 intermediate revisions by one user not shown)
Line 1: Line 1:
{| class="infobox" style="background-color:#DE9D5C; font-size:89%; width:300px; vertical-align:top; border: 3px solid #307B30; border-left-color:#307B30; border-top-color:#307B30;  text-align:left;" align="right"
+
{| class="infobox" align="right" |
! colspan="3" style="border: 3px solid #663300; border-left-color:#663300; border-top-color:#663300; background-color:#307B30; color:#ffffff; font-size:120%; padding:1em; text-align:center;" | {{{name|{{PAGENAME}}}}}
+
 
 +
! class="namebox bgimage6" colspan="3" |<div class="textshadow"> {{{name|{{PAGENAME}}}}} </div>
 
|- style="text-align:center;"
 
|- style="text-align:center;"
| colspan="3" style="background-color:#000000; padding:0.5em;" | [[{{{image|Image:{{PAGENAME}}.png}}}]]<br/>''{{{caption| }}}''
+
| class="bgimage"  colspan="3" style="padding:0.5em" | [[{{{image|Image:{{PAGENAME}}.png}}}]]<br/>''{{{caption| }}}''
 
|-
 
|-
! colspan="3" style="background-color:#663300; color:#ffffff; font-size:100%; text-align:center;" | Basic Info
+
! class="sectionbox" colspan="3" | Basic Info  
|- style="vertical-align:top; text-align:left;"
+
|-  
 
| '''Type:'''
 
| '''Type:'''
| {{{type}}}
+
| '''{{{type}}}'''
 
|-
 
|-
 
| '''Weight:'''
 
| '''Weight:'''
| {{{weight}}}
+
| '''{{{weight}}}'''
 
|-
 
|-
 
| '''Source:'''
 
| '''Source:'''
| {{{source}}}
+
| '''{{{source}}}'''
 
|-
 
|-
 
| '''Trade Value:'''
 
| '''Trade Value:'''
| {{{value}}}
+
| '''{{{value}}}'''
 
|-
 
|-
 
| '''Spoil Time:'''
 
| '''Spoil Time:'''
| {{{spoilTime}}}
+
| '''{{{spoilTime}}}'''
 
|-
 
|-
 
{{#if: {{#ask: [[requires::{{PAGENAME}}]]}}  
 
{{#if: {{#ask: [[requires::{{PAGENAME}}]]}}  
 
  | {{#if: {{#show: {{PAGENAME}} | ?specific | link=none}}
 
  | {{#if: {{#show: {{PAGENAME}} | ?specific | link=none}}
     | {{!}} colspan=2 {{!}} {{#ask: [[requires::{{PAGENAME}}]]}}, and {{#ask: [[requires::{{#show: {{PAGENAME}} | ?specific | link=none}}]]}}
+
     | {{!}} colspan=2 {{!}} '''{{#ask: [[requires::{{PAGENAME}}]]}}, and {{#ask: [[requires::{{#show: {{PAGENAME}}''' | ?specific | link=none}}]]}}
 
       {{!}}-
 
       {{!}}-
 
     | {{!}} '''Required By:'''
 
     | {{!}} '''Required By:'''
       {{!}}  colspan=2 {{!}} {{#ask: [[requires::{{PAGENAME}}]]}}
+
       {{!}}  colspan=2 {{!}} '''{{#ask: [[requires::{{PAGENAME}}]]}}'''
 
       {{!}}-
 
       {{!}}-
 
   }}
 
   }}
 
  | {{#if: {{#show: {{PAGENAME}} | ?specific | link=none}}
 
  | {{#if: {{#show: {{PAGENAME}} | ?specific | link=none}}
 
     | {{!}} '''Required By:'''
 
     | {{!}} '''Required By:'''
       {{!}}  colspan=2 {{!}} {{#ask:[[requires::{{#show: {{PAGENAME}} | ?specific | link=none}}]]}}
+
       {{!}}  colspan=2 {{!}} '''{{#ask:[[requires::{{#show: {{PAGENAME}}''' | ?specific | link=none}}]]}}
 
       {{!}}-
 
       {{!}}-
 
   }}
 
   }}
 
}}
 
}}
! colspan="3" style="background-color:#663300; color:#ffffff; font-size:100%; text-align:center;" | Nutrition
+
! class="sectionbox" colspan="3" | Nutrition
 
|-
 
|-
 
| '''Carb'''
 
| '''Carb'''
| {{{carb}}}
+
| '''{{{carb}}}'''
 
|-
 
|-
 
|style="width:150px;"| '''Fat'''
 
|style="width:150px;"| '''Fat'''
| {{{fat}}}
+
| '''{{{fat}}}'''
 
|-
 
|-
 
| '''Protein'''
 
| '''Protein'''
| {{{protein}}}
+
| '''{{{protein}}}'''
 
|-
 
|-
 
| '''Water'''
 
| '''Water'''
| {{{water}}}
+
| '''{{{water}}}'''
 
|-  
 
|-  
 
{{#Ifeq: {{{type}}} | Mushroom
 
{{#Ifeq: {{{type}}} | Mushroom
     | ! colspan="3" style="background-color:#663300; color:#ffffff; font-size:100%; text-align:center;" {{!}} Medicinal Info
+
     | ! class="sectionbox" colspan="3" {{!}} Medicinal Info
 
       {{$}}
 
       {{$}}
       {{!}} Poisonous:  
+
       {{!}} '''Poisonous:'''
       {{!}} {{{poisonous}}}
+
       {{!}} '''{{{poisonous}}}'''
 
       {{$}}
 
       {{$}}
       {{!}} Effects:
+
       {{!}} '''Effects:'''
       {{!}} {{{effects}}}
+
       {{!}} '''{{{effects}}}'''
 
     | {{#Ifeq: {{{type}}} | [[:Category:Herb{{!}}Herb]]
 
     | {{#Ifeq: {{{type}}} | [[:Category:Herb{{!}}Herb]]
           | ! colspan="3" style=background-color:#663300; color:#ffffff; font-size:100%; text-align:center;" {{!}} Medicinal Info
+
           | class="sectionbox" colspan="3"" {{!}} '''Medicinal Info'''
 
               {{$}}
 
               {{$}}
               {{!}} Poisonous:  
+
               {{!}} '''Poisonous:'''
               {{!}} {{{poisonous}}}
+
               {{!}} '''{{{poisonous}}}'''
 
               {{$}}
 
               {{$}}
               {{!}} Effects Raw:
+
               {{!}} '''Effects Raw:'''
               {{!}} {{{effects}}}
+
               {{!}} '''{{{effects}}}'''
 
               {{$}}
 
               {{$}}
               {{!}} Effects Boiled:
+
               {{!}} '''Effects Boiled:'''
               {{!}} {{{effectsBoiled}}}
+
               {{!}} '''{{{effectsBoiled}}}'''
 
           |
 
           |
 
     }}
 
     }}
 
}}
 
}}
 
{{#if: {{{ingredients|}}} |
 
{{#if: {{{ingredients|}}} |
   ! colspan="3" style="background-color:#663300; color:#ffffff; font-size:100%; text-align:center;" {{!}} Recipe
+
   ! class="sectionbox" colspan="3" {{!}} Recipe
 
   {{$}} style="vertical-align:top;"
 
   {{$}} style="vertical-align:top;"
 
   {{!}} '''Ingredients:'''
 
   {{!}} '''Ingredients:'''
   {{!}} {{{ingredients}}}
+
   {{!}} '''{{{ingredients}}}'''
 
   {{$}}  
 
   {{$}}  
 
   {{!}} '''Tools Required:'''
 
   {{!}} '''Tools Required:'''
   {{!}} {{{tools}}}
+
   {{!}} '''{{{tools}}}'''
 
   {{$}}
 
   {{$}}
 
   {{!}} '''Process:'''
 
   {{!}} '''Process:'''
   {{!}} {{{process}}}
+
   {{!}} '''{{{process}}}'''
 
   {{$}}
 
   {{$}}
 
   {{!}} '''Prepare Time:'''
 
   {{!}} '''Prepare Time:'''
   {{!}} {{{prepareTime}}}
+
   {{!}} '''{{{prepareTime}}}'''
 
   {{$}}
 
   {{$}}
 
   {{!}} '''Cook Time:'''
 
   {{!}} '''Cook Time:'''
   {{!}} {{{cookTime}}}
+
   {{!}} '''{{{cookTime}}}'''
 
   {{$}}
 
   {{$}}
 
   |
 
   |
 
}}
 
}}
|}
 

Latest revision as of 05:11, 26 September 2014

Test
File:Test.png
Basic Info
Type: {{{type}}}
Weight: {{{weight}}}
Source: {{{source}}}
Trade Value: {{{value}}}
Spoil Time: {{{spoilTime}}}
Nutrition
Carb {{{carb}}}
Fat {{{fat}}}
Protein {{{protein}}}
Water {{{water}}}