Template:Motion: Difference between revisions

From WormRP
Jump to navigation Jump to search
Keira (talk | contribs)
m okay lets break this down
Keira (talk | contribs)
m move link
 
(14 intermediate revisions by the same user not shown)
Line 2: Line 2:


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>{{#tag:ref|[{{{1}}} WormRP Motion {{#if: {{{name|}}} | {{{name}}} }}] dated {{Motion/format time | {{{1}}} | {{{time|}}} }}{{#if: {{{text|}}} | : ''{{{text}}}'' }}|name={{#if: {{{name|}}} | {{{name}}} | MotionAnnounceID{{#explode:{{{1}}}|/|-1}} }} }}</includeonly>
URL {{{1}}}
 
TEXT {{{text}}}
 
NAME {{{name}}}
 
SNOWFLAKE {{#explode:{{{1}}}|/|-1}}
 
SNOW TIMESTAMP {{DiscordSnowflakeTime|{{#explode: {{{1}}} |/|-1 }} }}
 
TIME {{{time}}}
 
PARSED NAME {{#if: {{{name|}}} | {{{name}}} | {{#explode:{{{1}}}|/|-1}} }}
 
PARSED TIME {{#if: {{{time|}}} | {{{time}}} | @{{DiscordSnowflakeTime|{{#explode: {{{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>
</includeonly>

Latest revision as of 10:57, 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.