Template:Ma: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(Created page with "[[ma:{{{1}}}|{{{1}}}]]")
 
(Updated to include TemplateData)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[ma:{{{1}}}|{{{1}}}]]
<includeonly>[[ma:{{{1}}}|{{{2|{{{1}}}}}}]]</includeonly><noinclude>
<templatedata>
{
"params": {
"1": {
"description": "Title of the Memory Alpha wiki article to link to."
},
"2": {
"description": "Alternative name for the link"
}
},
"description": "This template makes linking to Memory Alpha articles easier.\n\nSee the ma's template's page for more information."
}
</templatedata>
 
Instead of typing <nowiki>[[ma:Earth|Earth]]</nowiki>, you can now just type <nowiki>{{ma|Earth}}</nowiki> and get this: {{ma|Earth}}
 
You can also add a second variable to rename the link something else. For instance, <nowiki>{{ma|Earth|the third planet}}</nowiki> will get you this: {{ma|Earth|the third planet}}.
 
[[Category:Templates]]
</noinclude>

Latest revision as of 20:32, 10 April 2023

This template makes linking to Memory Alpha articles easier. See the ma's template's page for more information.

Template parameters

ParameterDescriptionTypeStatus
11

Title of the Memory Alpha wiki article to link to.

Unknownoptional
22

Alternative name for the link

Unknownoptional

Instead of typing [[ma:Earth|Earth]], you can now just type {{ma|Earth}} and get this: Earth

You can also add a second variable to rename the link something else. For instance, {{ma|Earth|the third planet}} will get you this: the third planet.