From The Mana World
m (Minimal Docs)
(Documentation, Examples, and two new optional fields)
Line 7: Line 7:
<tr><th>Reoccuring</th><td> {{{Reoccuring|No}}} </td></tr>
<tr><th>Reoccuring</th><td> {{{Reoccuring|No}}} </td></tr>
{{#if:{{{Location| }}}|<tr><th>Location</th><td>{{{Location}}}</td></tr>}}
{{#if:{{{Location| }}}|<tr><th>Location</th><td>{{{Location}}}</td></tr>}}
{{#if:{{{Prerequisites| }}}|<tr><th>Prerequisites</th><td>{{{Prerequisites}}}</td></tr>}}
{{#if:{{{Reward| }}}|<tr><th>Rewards</th><td>{{{Reward}}}</td></tr>}}
</table>
</table>
</includeonly>
</includeonly>
Line 14: Line 16:
{{Template:{{PAGENAME}}/doc}}    <!--this is to include documentation, without transcluding it in the page where template is used-->
{{Template:{{PAGENAME}}/doc}}    <!--this is to include documentation, without transcluding it in the page where template is used-->


Fields: Name, Image, Start, End, Reocorring, Location
Fields: Name, Image, Start, End, Reoccurring, Location
 
Other Fields: Prerequisites, Reward
 
===== Short example =====
 
{{Event|
Name = Event Example}}
 
A short example with only the name field.
 
===== Complete example =====
 
This is a more complete example, making use of more additional fields.
 
{{Event|
Name = Example|
Start = Start Date|
End = End Date|
Reoccurring = Yes|
Location = [[The Mana World:Home|Wiki]]|
Prerequisites = Coding skills|
Reward = None
}}
 


[[Category:Content Template]]    <!--this is to categorize the template. It will not be transcluded in the page where template is used-->
[[Category:Content Template]]    <!--this is to categorize the template. It will not be transcluded in the page where template is used-->
</noinclude>
</noinclude>

Revision as of 00:56, 12 July 2020


Template:Event/doc

Fields: Name, Image, Start, End, Reoccurring, Location

Other Fields: Prerequisites, Reward

Short example


Event Example
Start date Unknown
End date Unknown
Reoccuring No


A short example with only the name field.

Complete example

This is a more complete example, making use of more additional fields.


Example
Start date Start Date
End date End Date
Reoccuring No
LocationWiki
PrerequisitesCoding skills
RewardsNone