Template:Motion: Difference between revisions

From WormRP
Jump to navigation Jump to search
Keira (talk | contribs)
m test
Keira (talk | contribs)
m whoops?
Line 19: Line 19:
{{#time: r | @{{DiscordSnowflakeTime|{{#explode:{{{url|{{{1}}}}}}|/|-1}}}} }}
{{#time: r | @{{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}}} | @1551070501 }}{{#if: {{{text|}}} | : ''{{{text}}}'' }}]</ref>
<ref name="{{#if: {{{name|}}} | {{{name}}} | {{#explode:{{{url}}}|/|-1}} }}">[{{{url|{{{1}}}}}} WormRP Motion dated {{#time: j M Y | {{#if: {{{time|}}} | {{{time}}} | @1551070501 }} }}{{#if: {{{text|}}} | : ''{{{text}}}'' }}]</ref>
</includeonly>
</includeonly>

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