Difference between revisions of "Template:Foraged"
From Salem Wiki
Pistolshrimp (talk | contribs) m (Reverted edits by Pistolshrimp (talk) to last revision by Kralith) Tag: Rollback |
|||
(16 intermediate revisions by 4 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:# | + | {| style="width:100%; border:black 2px solid; background:#4c4c4c; padding-left:0.2em;" |
− | | style="width: | + | | 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 | + | | 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''' | + | | style="vertical-align:top;" | '''Objects'''<br />{{#ask: [[Category:Objects]] [[Requires::{{PAGENAME}}]] | ?Objects | format = ul | default=None }} |
− | | style="vertical-align:top" | '''Structures''' | + | | style="vertical-align:top;" | '''Structures'''<br />{{#ask: [[Category:Structures]] [[Requires::{{PAGENAME}}]] | ?Objects | format = ul | default=None }} |
|}</includeonly> | |}</includeonly> | ||
− | <noinclude> | + | <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:Artifact]] if the item is a foraged artifact. | ||
− | *[[Template:Inspirational Artifact]] if the item is foraged and both an inspirational and an 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 |
− | |}</noinclude> | + | | 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> |
Latest revision as of 18:01, 4 May 2024
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:Inspirational if the item is a foraged inspirational.
- 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.
Foraged | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
Code:
{{Foraged | Where found= | Weight= }} If it's standalone use: {{Foraged | Where found= | Weight= }} |} |