Template:Discord Quote: Difference between revisions

From Holocron - Star Wars Combine
Jump to navigation Jump to search
Alani Myrtel (talk | contribs)
No edit summary
Alani Myrtel (talk | contribs)
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>== Parameters ==
<noinclude>== Parameters ==
# Image: quoted image (needs to be uploaded). Example: Hello.png
# Image (required, an uploaded image title + extention)
# Link: <nowiki>{{url}}</nowiki> (optional)
# Link (optional, URL of the message)


== Example ==
== Example ==
<p style="font-family:'Consolas'"><nowiki>{{Discord Quote|Help discordquote example.png|link=https://google.com/}}</nowiki></p>
<p style="font-family:'Consolas'"><nowiki>{{Discord Quote|img=Help discordquote example.png|link=https://google.com/}}</nowiki></p>


This will result in: {{Discord Quote|Help discordquote example.png|link=https://google.com/}}<br>You will still need to add your own 'references' header, as the reference will be added to the bottom of the article.
This will result in: {{Discord Quote|img=Help discordquote example.png|link=https://google.com/}}
</noinclude><includeonly>{{#tag:ref|[[File:{{{1}}}|350px|link={{{link|}}}]]}}</includeonly>
 
{{Reflist}}
 
You can click the magnifying glass emoji to be redirected to the source image file.
</noinclude><includeonly>{{#tag:ref
|[[File:{{{img}}}|350px|link={{{link|}}}]] [[:Media:{{urlencode:{{{img}}}|WIKI}}|🔍]]
|name={{{img}}}}}</includeonly>

Latest revision as of 01:02, 29 July 2021

Parameters

  1. Image (required, an uploaded image title + extention)
  2. Link (optional, URL of the message)

Example

{{Discord Quote|img=Help discordquote example.png|link=https://google.com/}}

This will result in: [1]

You can click the magnifying glass emoji to be redirected to the source image file.