Template:Motion: Difference between revisions

From WormRP
Jump to navigation Jump to search
Keira (talk | contribs)
m whoops?
Keira (talk | contribs)
m what
Line 1: Line 1:
<noinclude>Usage: <code><nowiki>{{Motion|url=DISCORD SHARE URL|text=TEXT OF THE MOTION}}</nowiki></code>
<noinclude>Usage: <code><nowiki>{{Motion|DISCORD SHARE URL|text=TEXT OF THE MOTION}}</nowiki></code>


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>
{{{url}}}
{{{1}}}
{{{1}}}


Line 13: Line 11:
{{{name}}}
{{{name}}}


{{#explode:{{{url}}}|/|-1}} }}
{{#explode:{{{1}}}|/|-1}} }}


{{DiscordSnowflakeTime|{{#explode:{{{url|{{{1}}}}}}|/|-1}}}}
{{DiscordSnowflakeTime|{{#explode:{{ {{{1}}} |/|-1 }} }} }}


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

Revision as of 10:14, 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.