Difference between revisions of "Template:Action"

From Salem Wiki
Jump to: navigation, search
 
(20 intermediate revisions by 3 users not shown)
Line 6: Line 6:
 
{| style="min-width:320px; padding:0.1em; border:black 2px solid; border-radius:0.4em; background:#71583b; font-family:Calibri"
 
{| style="min-width:320px; padding:0.1em; border:black 2px solid; border-radius:0.4em; background:#71583b; font-family:Calibri"
 
! 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"
 
| style="width:100px; vertical-align:top" |'''Skill(s) required:'''
 
| style="width:100px; vertical-align:top" |'''Skill(s) required:'''
| {{#ask: [[Category:Skills]] [[Unlocks::{{PAGENAME}}]] | ?Skills | format = list  | default=None }}
+
| colspan=2 | {{#ask: [[Category:Skills]] [[Unlocks::{{NAMESPACE}}:{{PAGENAME}}]] | ?Skills | format = ul | link=none | template=i | default=None }}
 
|-
 
|-
 
| style="vertical-align:top" |'''Object(s) required:'''
 
| style="vertical-align:top" |'''Object(s) required:'''
Line 19: Line 22:
 
|}
 
|}
 
<!-- Image START -->
 
<!-- Image START -->
{| style="padding:0.2em; float:right"
+
{{#ifexist: Image:{{PAGENAME}}.png |
|
+
{{{!}} style="padding:0.2em; float:right"
[[Image:{{PAGENAME}}.png|thumb|300px|{{PAGENAME}}]]
+
{{!}}
|}
+
[[Image:{{PAGENAME}}.png|thumb{{!}}300px{{!}}{{PAGENAME}}]]
 +
{{!}}}
 +
}}
 
<!-- Image END -->
 
<!-- Image END -->
 
<!-- Template END -->
 
<!-- Template END -->

Latest revision as of 18:47, 5 May 2024

When to use this template:

To add a new action to the wiki (an action is a command that operates on an object in world or on your character).

How to use this template:

Breakdown of parameters:

Objects required
List any objects required such as weapons or tools. Each object must be entered with an amount and each separate item should be separated with a comma.
For example: Objects required=Sword;1

Blank code to copy+paste:

{{Action
| Objects required=
}}