This is a wiki for a reason. Anyone can contribute. If you see something that is inaccurate or can be improved, don't ask that it be fixed--just improve it.
[ Disclaimer, Create new user --- Wiki markup help, Install P99 ]

Difference between revisions of "Template:Playerevent"

From Project 1999 Wiki
Jump to: navigation, search
Line 36: Line 36:
 
{{#if: {{{eventimage}}}|[[File:{{{eventimage}}}|center]]|[[File:DoF-defaulteventbanner.jpg|center]] }}
 
{{#if: {{{eventimage}}}|[[File:{{{eventimage}}}|center]]|[[File:DoF-defaulteventbanner.jpg|center]] }}
  
<div style="padding: 10px 0 10px 0; text-align: center; font-size: 2em; font-family: 'arial black'; font-weight: 900; width: 100%; background: {{#var:server1}}; color: #fff;">
+
<div style="padding: 10px 0 10px 0; text-align: center; font-size: 2em; font-family: 'arial black'; font-weight: 900; width: 100%; background-color: {{#var:server1}}; color: #fff;">
 
{{{eventname}}}
 
{{{eventname}}}
 
</div>
 
</div>

Revision as of 01:12, 14 June 2017

Documentation - in progress

If there is no image provided, the event page will use a default banner image. It's meant to be flashy.

Optional values: eventendtime, eventimage, credits

Blank template:

{{Playerevent
| eventname = 
| eventdate = 
| eventstarttime = 
| eventendtime = 
| eventzone = 

| eventhost = 
| credits = 

| eventimage = 

| description = 
| rules = 
}}

See this template in action at Sample Event.