Template:Discord: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (→‎Source: Change the default usage to output 'Discord' to make grammar simpler.)
m (→‎Template Usage: Update example)
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|Discord}}}</a></includeonly><noinclude>[[Category:Templates]]</noinclude>
</noinclude><includeonly><a href="https://discord.gg/hbn2bfn" target="_blank">{{{1|Discord}}}</a></includeonly><noinclude>[[Category:Templates]]</noinclude>

Revision as of 16:55, 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.