Template:Motion: Difference between revisions

From WormRP
Jump to navigation Jump to search
Keira (talk | contribs)
m use timestamp
Keira (talk | contribs)
m x
Line 16: Line 16:


{{DiscordSnowflakeTime|{{#explode:{{{url|{{{1}}}}}}|/|-1}}}}
{{DiscordSnowflakeTime|{{#explode:{{{url|{{{1}}}}}}|/|-1}}}}
{{#time: @{{DiscordSnowflakeTime|{{#explode:{{{url|{{{1}}}}}}|/|-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:04, 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.