Difference between revisions of "Template:Summoned"

From Tremor Mod Wiki
Jump to: navigation, search
(Created page with "{|class="terraria" style="float:right; margin: 0 3px 10px 10px; z-index:999" ! style="padding:2px 5px; font-size:89%" | Summons {{#if: {{{type|}}} | {{#switch:{{{type|}}} | pe...")
 
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
  +
<includeonly>
 
{|class="terraria" style="float:right; margin: 0 3px 10px 10px; z-index:999"
 
{|class="terraria" style="float:right; margin: 0 3px 10px 10px; z-index:999"
! style="padding:2px 5px; font-size:89%" | Summons {{#if: {{{type|}}} | {{#switch:{{{type|}}} | pet = [[Pet]] | minion = [[Minion]] | mount = [[Mount]] | light pet = [[Light Pet]] |#default = [[{{{type}}}]] }} | <!--nothing--> }}
+
! style="padding:2px 5px; font-size:89%" | Summons {{#if: {{{type|}}} | {{#switch:{{{type|}}} | pet = [[Pets|Pet]] | minion = [[Summon weapons|Minion]] | sentry = [[Summon weapons#Sentry|Sentry]] | mount = [[Mounts|Mount]] | light pet = [[Pets#Light Pets|Light Pet]] |#default = [[{{{type}}}]] }} | <!--nothing--> }}
 
|-
 
|-
 
! style="padding:0 5px; background:none; " | {{{name| {{{1}}} }}}
 
! style="padding:0 5px; background:none; " | {{{name| {{{1}}} }}}
 
|-
 
|-
| align="center" style="padding-bottom:5px; "| {{{image| [[File:{{{1}}}.png]] }}}
+
| align="center" style="padding-bottom:5px; "| {{{image| [[File:{{{1}}}.png|link=]] }}}
 
{{#if: {{{2|}}} |
 
{{#if: {{{2|}}} |
 
{{!}}-
 
{{!}}-
 
! style="padding:0 5px; border-top:1px solid #AFCFE2; font-size:89%" {{!}} Buff
 
! style="padding:0 5px; border-top:1px solid #AFCFE2; font-size:89%" {{!}} Buff
 
{{!}}-
 
{{!}}-
{{!}} align="center" style="padding-top:5px" {{!}} {{{buffimage| [[File:{{{2}}}.png]] }}} }}
+
{{!}} align="center" style="padding-top:5px" {{!}} {{{buffimage| [[File:{{{2}}}.png|link=]] }}} }}
|}<noinclude>{{doc}}</noinclude>
+
|}</includeonly><noinclude>{{doc}}</noinclude>

Latest revision as of 02:29, 1 January 2019

Template-info.png Documentation The documentation below is transcluded from Template:Summoned/doc. (edit | history)

Use this on pages describing pet, minion, or mount summon items, to illustrate the summoned entity and its buff icon. This template is intended to merge the three pages that were initially used on this wiki to describe each summon item (item page, summoned entity page, buff page).

Usage

{{summoned</nowiki>
 | ''pet/minion/mount image filename''
 | ''optional: buff icon filename''
 | type = ''optional: enter'' '''pet''', '''light pet''', '''minion''', ''or'' '''mount'''
 | name = ''optional: displayed pet/minion name, if different from image filename''
 <nowiki>}}
  • At least a pet image is required. Everything else is optional, though you should specify a type.
  • Filenames should be entered bare, without [[File: ]] or an extension (.png). PNG is assumed.
  • To use images with different extensions, add image = for the pet image, and/or buffimage = for the buff icon, and enter the entire [[File:example.gif]] code.
Unnamed Parameter 1

pet/minion/mount image filename

Unnamed Parameter 2

(optional) buff icon filename

type

(optional) pet, light pet, minion, or mount

name

(optional) displayed name, if different from image filename.