Template:Motion: Difference between revisions

From WormRP
Jump to navigation Jump to search
Keira (talk | contribs)
m what the fuck?????
Keira (talk | contribs)
m think
Line 17: Line 17:
PARSED NAME {{#if: {{{name|}}} | {{{name}}} | {{#explode:{{{1}}}|/|-1}} }}
PARSED NAME {{#if: {{{name|}}} | {{{name}}} | {{#explode:{{{1}}}|/|-1}} }}


PARSED TIME {{#time: j M Y | {{#if: {{{time|}}} | {{{time}}} | @{{DiscordSnowflakeTime|{{#explode: {{{1}}} |/|-1 }} }} }} }}
PARSED TIME {{/format time| {{{1}}} | {{{time|}}} }}


<ref name="{{#if: {{{name|}}} | {{{name}}} | {{#explode:{{{1}}}|/|-1}} }}">[{{{1}}} WormRP Motion dated {{#time: j M Y | {{#if: {{{time|}}} | {{{time}}} | @{{DiscordSnowflakeTime|{{#explode: {{{1}}} |/|-1 }} }} }} }}]</ref>
<ref name="{{#if: {{{name|}}} | {{{name}}} | {{#explode:{{{1}}}|/|-1}} }}">[{{{1}}} WormRP Motion dated {{#time: j M Y | {{#if: {{{time|}}} | {{{time}}} | @{{DiscordSnowflakeTime|{{#explode: {{{1}}} |/|-1 }} }} }} }}]</ref>
</includeonly>
</includeonly>

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