Difference between revisions of "Template:Pet Summary"

From Istaria Lexica

(now adds Category:Pet:Cargo)
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
! colspan="2"  | {{PAGENAME}}
 
! colspan="2"  | {{PAGENAME}}
 
{{InfoboxDescription|{{{description|}}}}}
 
{{InfoboxDescription|{{{description|}}}}}
{{InfoboxSimpleLine|name=Max Capacity:|property=capacity|value={{{capacity|}}}}}
 
{{InfoboxSimpleLine|name=Max Items:|property=items|value={{{items|}}}}}
 
 
{{InfoboxSimpleLine|name=Requirements:|property=requires|value={{{requires|}}}}}
 
{{InfoboxSimpleLine|name=Requirements:|property=requires|value={{{requires|}}}}}
 
{{InfoboxSimpleLine|name=Attuned:|property=attuned|value={{{attuned|}}}}}
 
{{InfoboxSimpleLine|name=Attuned:|property=attuned|value={{{attuned|}}}}}
 
|-
 
|-
| colspan="2" style="border-top: 1px solid #525252" | Effects:
+
{{ #if: {{{effects|}}} |  
|-
+
{{!}} colspan="2" style="border-top: 1px solid #525252" {{!}} <u>''Effects:''</u>
| colspan="2" | {{ #if: {{{effects|}}} | {{{effects}}}}}
+
{{!}}-
|-
+
{{!}} colspan="2" {{!}} {{{effects}}}
 +
{{!}}- }}
 
| colspan="2" style="text-align:center; padding: 0; border-top: 1px solid #525252;" | {{InfoboxScreenshot|image={{{image|}}}}}
 
| colspan="2" style="text-align:center; padding: 0; border-top: 1px solid #525252;" | {{InfoboxScreenshot|image={{{image|}}}}}
{{InfoboxEnd}}<includeonly>[[Category:Pet:Cargo]]</includeonly><noinclude>{{Clr}}{{Documentation}}[[Category:Summary Templates]]</noinclude>
+
{{InfoboxEnd}}<includeonly>[[Category:Pet]]</includeonly><noinclude>{{Documentation}}[[Category:Summary Templates]][[Category:Add Data Templates]]</noinclude>

Latest revision as of 19:01, 21 October 2022

Pet Summary


TitleTemplate.png
Template documentation (for the template shown above, sometimes hidden or invisible)

Description[edit]

Shows a short summary about a pet.


Syntax[edit]

{{Pet Summary
|description = 
|requires    = 
|attuned     = 
|effects     = 
}}

Parameters[edit]

{{Pet Summary
|description = Desription text of the pet
|requires    = Requirements to be able to use the pet
|attuned     = whether it will be attuned or not
|effects     = Effects the pet may give
}}

Example[edit]

{{Pet Summary
|description = A strong little bugger, this beetle flies along behind you and can help carry small resources.<br/><br/>NOTE: This pet does not pose limits on flight ability.
|requires    = Current School Level Minimum (1)
|attuned     = yes
|effects     = Limit Run Speed: 100
}}
Visit Template:Pet Summary/doc to edit this text. (How to: document correctly)