Template:Motion: Difference between revisions

From WormRP
Jump to navigation Jump to search
Keira (talk | contribs)
m whoops
Keira (talk | contribs)
m okay lets break this down
Line 3: Line 3:
Optionally add a <code>|name=REFERENCE NAME</code> and <code>|time=REFERENCE TIME</code> because the older motions (in the gdocs) cannot get these from the message ID.
Optionally add a <code>|name=REFERENCE NAME</code> and <code>|time=REFERENCE TIME</code> because the older motions (in the gdocs) cannot get these from the message ID.
</noinclude><includeonly>
</noinclude><includeonly>
{{{1}}}
URL {{{1}}}


{{{text}}}
TEXT {{{text}}}


{{{2}}}
NAME {{{name}}}


{{{name}}}
SNOWFLAKE {{#explode:{{{1}}}|/|-1}}


{{#explode:{{{1}}}|/|-1}}
SNOW TIMESTAMP {{DiscordSnowflakeTime|{{#explode: {{{1}}} |/|-1 }} }}


{{DiscordSnowflakeTime|{{#explode: {{{1}}} |/|-1 }} }}
TIME {{{time}}}
 
PARSED NAME {{#if: {{{name|}}} | {{{name}}} | {{#explode:{{{1}}}|/|-1}} }}
 
PARSED TIME {{#if: {{{time|}}} | {{{time}}} | @{{DiscordSnowflakeTime|{{#explode: {{{1}}} |/|-1 }} }} }}


{{#time: r | @{{DiscordSnowflakeTime|{{#explode:{{{url|{{{1}}}}}}|/|-1}}}} }}
{{#time: r | @{{DiscordSnowflakeTime|{{#explode:{{{url|{{{1}}}}}}|/|-1}}}} }}

Revision as of 10:18, 9 March 2020

Usage: {{Motion|DISCORD SHARE URL|text=TEXT OF THE MOTION}}

Optionally add a |name=REFERENCE NAME and |time=REFERENCE TIME because the older motions (in the gdocs) cannot get these from the message ID.