Template:Motion: Difference between revisions

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

Revision as of 09:59, 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.