From The Mana World
m (Fix if statement issues?)
m (Actually there is a grammar discussion if it should be Reoccuring or Reoccurring - The later is correct, the former depends on the region!!!!!!!)
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
<table style="width:270px; float: right;" class="wikitable">
<table style="width:270px; float: right;" class="wikitable">
<tr><th colspan="2">{{{Name}}}</th></tr>
<tr><th colspan="2">{{{Name}}}</th></tr>
{{#if:{{{Image|}}}|<tr><td colspan="2" align="center">{{{Image}}}</td></tr>|}}
{{#if:{{{Image| }}}|<tr><td colspan="2" align="center">{{{Image}}}</td></tr>}}
<tr><th>Start date</th><td> {{{Start|Unknown}}} </td></tr>
<tr><th>Start date</th><td> {{{Start|Unknown}}} </td></tr>
<tr><th>End date</th><td> {{{End|Unknown}}} </td></tr>
<tr><th>End date</th><td> {{{End|Unknown}}} </td></tr>
<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:{{{Cost| }}}|<tr><th>Cost</th><td>{{{Cost}}}</td></tr>}}
{{#if:{{{Reward| }}}|<tr><th>Rewards</th><td>{{{Reward}}}</td></tr>}}
</table>
</table>
</includeonly>
</includeonly>
Line 13: Line 16:
<noinclude>
<noinclude>
{{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, 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>

Latest revision as of 01:06, 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