Template:MSPAW External/doc: Difference between revisions

From DCRC Wiki
Jump to navigation Jump to search
(+template documentation)
 
 
Line 3: Line 3:


=== Usage ===
=== Usage ===
Here's a typical use: '''<nowiki>{{{MSPAW External|</nowiki>Link_Text|Display Name<nowiki>}}}</nowiki>'''
Here's a typical use: '''<nowiki>{{MSPAW External|</nowiki>Link_Text|Display Name<nowiki>}}</nowiki>'''


'''IN TITLES, REPLACE SPACES WITH UNDERSCORES: <span style="color:red;"><nowiki>{{{MSPAW External|Andrew Hussie}}</nowiki></span> ➡ <span style="color:green;"><nowiki>{{{MSPAW External|Andrew_Hussie|Andrew Hussie}}}</nowiki></span>'''
'''IN TITLES, REPLACE SPACES WITH UNDERSCORES: <span style="color:red;"><nowiki>{{MSPAW External|Andrew Hussie}}</nowiki></span> ➡ <span style="color:green;"><nowiki>{{MSPAW External|Andrew_Hussie|Andrew Hussie}}</nowiki></span>'''


If no display name is given, the link text will be used. You don't have to use underscores in the display name.
If no display name is given, the link text will be used. You don't have to use underscores in the display name.

Latest revision as of 13:43, 12 March 2023

Documentation

This template was created due to the FANDOM.com split, which broke all uses of Template:MSPA Wiki. Now works as external link handler with icon.

Usage

Here's a typical use: {{MSPAW External|Link_Text|Display Name}}

IN TITLES, REPLACE SPACES WITH UNDERSCORES: {{MSPAW External|Andrew Hussie}}{{MSPAW External|Andrew_Hussie|Andrew Hussie}}

If no display name is given, the link text will be used. You don't have to use underscores in the display name.