Difference between revisions of "Template:Event"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (add a "none" for events with no parameters) |
BryanDerksen (Talk | contribs) (had to be more thorough, there's an event with no object0 out there) |
||
| Line 8: | Line 8: | ||
<dt>Parameters: | <dt>Parameters: | ||
<dd> | <dd> | ||
| − | {{#if:{{{int0name|}}}{{{float0name|}}}{{{string0name|}}}{{{object0name|}}}|<ul> | + | {{#if:{{{int0name|}}}{{{float0name|}}}{{{string0name|}}}{{{object0name|}}}{{{int1name|}}}{{{float1name|}}}{{{string1name|}}}{{{object2name|}}}{{{int2name|}}}{{{float2name|}}}{{{string2name|}}}{{{object2name|}}}|<ul> |
{{#if:{{{creatordesc|}}}|<li>Creator: {{{creatordesc}}}</li>|}}<!-- | {{#if:{{{creatordesc|}}}|<li>Creator: {{{creatordesc}}}</li>|}}<!-- | ||
-->{{#if:{{{int0desc|}}}|<li>Integer 0: {{{int0desc}}}</li>|}}<!-- | -->{{#if:{{{int0desc|}}}|<li>Integer 0: {{{int0desc}}}</li>|}}<!-- | ||
| Line 25: | Line 25: | ||
</dl> | </dl> | ||
| − | {{#if:{{{int0name|}}}{{{float0name|}}}{{{string0name|}}}{{{object0name|}}}| | + | {{#if:{{{int0name|}}}{{{float0name|}}}{{{string0name|}}}{{{object0name|}}}{{{int1name|}}}{{{float1name|}}}{{{string1name|}}}{{{object2name|}}}{{{int2name|}}}{{{float2name|}}}{{{string2name|}}}{{{object2name|}}}| |
'''Example script:''' | '''Example script:''' | ||
<div class="dascript" style="font-family:monospace; background-color:#F9F9F9; border: 1px dashed #2F6FAB; line-height: 1.1em; padding: 1em;"> | <div class="dascript" style="font-family:monospace; background-color:#F9F9F9; border: 1px dashed #2F6FAB; line-height: 1.1em; padding: 1em;"> | ||
Revision as of 21:37, 23 July 2009
This template produces the standard formatting in the first part of category:Event types articles. The following is a comprehensive set of all the possible parameters for this template; feel free to delete the unused parameters when using it in an article for tidiness.
{{event
|when=
|to=
|from=
|creatordesc=
|int0name=
|int0desc=
|int1name=
|int1desc=
|int2name=
|int2desc=
|float0name=
|float0desc=
|float1name=
|float1desc=
|float2name=
|float2desc=
|string0name=
|string0desc=
|string1name=
|string1desc=
|string2name=
|string2desc=
|object0name=
|object0desc=
|object1name=
|object1desc=
|object2name=
|object2desc=
}}