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
 
(21 intermediate revisions by one user not shown)
Line 1: Line 1:
 
<noinclude>Documentation - in progress
 
<noinclude>Documentation - in progress
  
If there is no image provided, the event page will use a default banner image. It's meant to be flashy.</noinclude>
+
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:
 +
 
 +
<pre>
 +
{{Playerevent
 +
| server =
 +
| eventname =
 +
| eventdate =
 +
| eventstarttime =
 +
| eventendtime =
 +
| eventzone =
 +
 
 +
| eventhost =
 +
| credits =
 +
 
 +
| eventimage =
 +
 
 +
| description =
 +
| rules =
 +
}}
 +
</pre>
 +
 
 +
See this template in action at [[Sample Event]].</noinclude>
  
 
<includeonly>
 
<includeonly>
[[File:{{{eventimage}}}|center]]
 
  
<div style="padding: 10px 0 10px 0; text-align: center; font-size: 2em; font-family: 'arial black'; font-weight: 900; width: 100%; background: #ea005e; color: #fff;">
+
{{#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: #004a9e; color: #fff;">
 
{{{eventname}}}
 
{{{eventname}}}
 
</div>
 
</div>
 
<div style="max-width: 50%; margin: 0 auto 0 auto;">
 
<div style="max-width: 50%; margin: 0 auto 0 auto;">
<div style="text-align: left; background: #fff075; text-align: center; padding: 10px 0 10px 0; font-size: 1.2em;">'''Presented By''' {{{eventhost}}}</div>
+
<div style="text-align: left; background: #50d8d7; text-align: center; padding: 10px 0 10px 0; font-size: 1.2em; font-family: 'courier new';">'''Presented By''' {{{eventhost}}}</div>
 
</div>
 
</div>
  
<div style="font-size: 1.5em; font-weight: bold; font-family: serif; color: #feb300; text-align: center;">
+
<div style="font-size: 1.5em; font-weight: bold; font-family: serif; color: #000; text-align: center;">
Date: {{{eventdate}}}<br>
+
Date: {{{eventdate}}}<br />
 
''Starts: {{{eventstarttime}}}''
 
''Starts: {{{eventstarttime}}}''
{{#if: {{{eventendtime}}} | <br />''Ends: {{{eventendtime}}}'' }}
+
{{#if: {{{eventendtime}}} | <br />''Ends: {{{eventendtime}}}'' <br /> }}
 
+
Zone: {{{eventzone}}}<br />
Zone: {{eventzone}}
+
Server: {{{server}}}
 
</div>
 
</div>
  
<div style="text-align: left; background: #64ffad; text-align: center; padding: 10px 0 10px 0; font-size: 1.2em;">{{{description}}}</div>
+
<div style="text-align: left; background: #50d8d7; text-align: center; padding: 10px 0 10px 0; font-size: 1.2em;">{{{description}}}</div>
<div style="text-align: left; border: 4px solid #84efeb; padding: 10px 3px 10px 3px; font-size: 1.2em;">{{{rules}}}</div>
+
<div style="text-align: left; border: 4px solid #50d8d7; padding: 10px 3px 10px 3px; font-size: 1.2em;">{{{rules}}}</div>
 
{{#if: {{{credits}}} | <div style="padding: 5px;">''Special thanks to...''<br /> {{{credits}}}</div> }}
 
{{#if: {{{credits}}} | <div style="padding: 5px;">''Special thanks to...''<br /> {{{credits}}}</div> }}
<div style="text-align: left; background: #b242f3; text-align: center; padding: 10px 0 10px 0; font-size: 1.2em; color: #fff;">Details subject to change until start of the event. Check back regularly!
+
<div style="text-align: left; background: #293132; text-align: center; padding: 10px 0 10px 0; font-size: 1.2em; color: #fff;">Details subject to change until start of the event. Check back regularly!
  
 
Template provided by Department of Fun.</div>
 
Template provided by Department of Fun.</div>
 +
 +
[[Category:Player Events]]
 
</includeonly>
 
</includeonly>

Latest revision as of 01:20, 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
| server =
| eventname = 
| eventdate = 
| eventstarttime = 
| eventendtime = 
| eventzone = 

| eventhost = 
| credits = 

| eventimage = 

| description = 
| rules = 
}}

See this template in action at Sample Event.