Template:Motion: Difference between revisions

From WormRP
Jump to navigation Jump to search
Keira (talk | contribs)
m thonk
Keira (talk | contribs)
m what the fuck
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>
{{{url}}}
{{{1}}}
{{{text}}}
{{{2}}}
{{{name}}}
{{#explode:{{{url}}}|/|-1}} }}
<ref name="{{#if: {{{name|}}} | {{{name}}} | {{#explode:{{{url}}}|/|-1}} }}">[{{{url|{{{1}}}}}} WormRP Motion dated {{#time: j M Y | {{#if: {{{time|}}} | {{{time}}} | {{DiscordSnowflakeTime|{{#explode:{{{url|{{{1}}}}}}|/|-1}}}} }} }}{{#if: {{{text|}}} | : ''{{{text}}}'' }}]</ref>
<ref name="{{#if: {{{name|}}} | {{{name}}} | {{#explode:{{{url}}}|/|-1}} }}">[{{{url|{{{1}}}}}} WormRP Motion dated {{#time: j M Y | {{#if: {{{time|}}} | {{{time}}} | {{DiscordSnowflakeTime|{{#explode:{{{url|{{{1}}}}}}|/|-1}}}} }} }}{{#if: {{{text|}}} | : ''{{{text}}}'' }}]</ref>
</includeonly>
</includeonly>

Revision as of 10:00, 9 March 2020

Usage: {{Motion|url=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.