Difference between revisions of "Template:Foraged"

From Salem Wiki
Jump to: navigation, search
m
(19 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
{| style="float:left; width:320px; padding:0.2em; border:black 2px solid; border-radius:0.4em; background:#71583b; font-family:Calibri; margin-right:25px"
 
{| style="float:left; width:320px; padding:0.2em; border:black 2px solid; border-radius:0.4em; background:#71583b; font-family:Calibri; margin-right:25px"
 
! style="color:white; font-size:1.4em"|{{i|{{PAGENAME}}}}
 
! style="color:white; font-size:1.4em"|{{i|{{PAGENAME}}}}
 +
|-
 +
| style="color:white; font-size:1.2em; text-align:center"|{{CheckNamespace}}
 
|-
 
|-
 
|
 
|
{| style="width:100%; border:black 2px solid; background:#efebe5"
+
{| style="width:100%; border:black 2px solid; background:#4c4c4c; padding-left:0.2em;"
| style="width:100px; vertical-align:top" |'''Where found:'''
+
| style="width:80px;" |'''Where found:'''
| {{#switch: {{{Where found|}}}
+
| colspan="2" | {{#switch: {{{Where found|}}}
 
  | = ''unknown''
 
  | = ''unknown''
  | {{T1|{{{Where found}}}}}
+
  | {{TX|T1|{{{Where found}}} }}
 
}}
 
}}
 
|-
 
|-
| style="vertical-align:top; width:100px; text-align:left" |'''Weight:'''
+
| style="vertical-align:top; text-align:left;" |'''Weight:'''
  | {{#switch: {{{Weight|}}}
+
  | colspan="2" | {{#switch: {{{Weight|}}}
 
  | = ''unknown''
 
  | = ''unknown''
 
  | {{{Weight}}}
 
  | {{{Weight}}}
 
}}
 
}}
 
|-
 
|-
| style="vertical-align:top" | '''Required by:'''
+
| style="vertical-align:top;" | '''Required by:'''
| style="vertical-align:top" | '''Objects'''   {{#ask: [[Category:Objects]] [[Requires::{{PAGENAME}}]] | ?Objects | format = ul | default=None }}
+
| style="vertical-align:top;" | '''Objects'''<br />{{#ask: [[Category:Objects]] [[Requires::{{PAGENAME}}]] | ?Objects | format = ul | default=None }}  
| style="vertical-align:top" | '''Structures'''   {{#ask: [[Category:Structures]] [[Requires::{{PAGENAME}}]] | ?Objects | format = ul | default=None }}
+
| style="vertical-align:top;" | '''Structures'''<br />{{#ask: [[Category:Structures]] [[Requires::{{PAGENAME}}]] | ?Objects | format = ul | default=None }}
 
|}</includeonly>
 
|}</includeonly>
<noinclude>'''NOTE:''' This is a MODULAR template. It MUST be used before one the the following templates:
+
<noinclude>{{Notice|NOTE:|This is a MODULAR template. It MUST be used before one the the following templates:
 +
*[[Template:Craftable]] if the item is craftable too. Craftable template is a modular template and between Foraged and the following templates:
 
*[[Template:Food]] if the item is a foraged food.
 
*[[Template:Food]] if the item is a foraged food.
 
*[[Template:Inspirational]] if the item is a foraged inspirational.
 
*[[Template:Inspirational]] if the item is a foraged inspirational.
 
*[[Template:Inspirational Food]] if the item is both an inspirational and a food.
 
*[[Template:Inspirational Food]] if the item is both an inspirational and a food.
 +
*[[Template:Artifact]] if the item is a foraged artifact.
 +
*[[Template:Inspirational Artifact]] if the item is foraged and both an inspirational and an artifact.}}
  
 
See [[Help:Contributing]] for instructions and examples for adding a new page to the wiki.
 
See [[Help:Contributing]] for instructions and examples for adding a new page to the wiki.
  
{{Foraged | Where found=}}
+
{{Foraged  
 +
| Where found=  
 +
| Weight=
 +
}}
 +
|}
 +
{|
 +
| style="vertical-align:top" |'''Code:'''
 +
----
 +
<pre>{{Foraged
 +
| Where found=
 +
| Weight=
 +
}}
 +
</pre>
 +
If it's standalone use:
 +
<pre>{{Foraged
 +
| Where found=
 +
| Weight=
 +
}}
 +
|}
 +
</pre>
 +
|}
 
</noinclude>
 
</noinclude>
|}
 

Revision as of 21:40, 12 March 2024

NOTE: This is a MODULAR template. It MUST be used before one the the following templates:


See Help:Contributing for instructions and examples for adding a new page to the wiki.

Unknown Item icon.png Foraged
Where found: unknown
Weight: unknown
Required by: Objects
None
Structures
None
Code:
{{Foraged
| Where found=
| Weight=
}}

If it's standalone use:

{{Foraged
| Where found=
| Weight=
}}
|}