Template:Discord: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Add Discord template to make updating Discord links easier in the future)
 
m (→‎Source: Correct MW formatting)
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:


==Examples==
==Examples==
The default usage uses 'MapTool Discord' as the link text:
The default usage uses 'Discord' as the link text:
<pre>{{Discord}}</pre>
<pre>{{Discord}}</pre>


Adding further text after the template name replaces the link text:
Adding further text after the template name replaces the link text:
<pre>{{Discord|the Discord channel}}</pre>
<pre>{{Discord|the MapTool Discord channel}}</pre>


=Source=
=Source=
Edit this section to view template source.
Edit this section to view template source.
</noinclude><includeonly><a href="https://discord.gg/hbn2bfn" target="_blank">{{{1|MapTool Discord}}}</a></includeonly><noinclude>[[Category:Templates]]</noinclude>
</noinclude><includeonly>[https://discord.gg/hbn2bfn {{{1|Discord}}}]</includeonly><noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 16:56, 16 August 2021

Template Usage

This template is a simple link to the MapTool discord. A template is preferred because a Discord link may change.

Examples

The default usage uses 'Discord' as the link text:

{{Discord}}

Adding further text after the template name replaces the link text:

{{Discord|the MapTool Discord channel}}

Source

Edit this section to view template source.