Template:Ma: Difference between revisions

Jump to navigation Jump to search
Updated to include TemplateData
No edit summary
(Updated to include TemplateData)
 
Line 1: Line 1:
<includeonly>[[ma:{{{1}}}|{{{2|{{{1}}}}}}]]</includeonly><noinclude>
<includeonly>[[ma:{{{1}}}|{{{2|{{{1}}}}}}]]</includeonly><noinclude>
This template makes linking to Memory Alpha articles easier.
<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}}.


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]]
[[Category:Templates]]
</noinclude>
</noinclude>

Navigation menu