Template:Seedlink: Difference between revisions

From ALttPR Wiki
Jump to navigation Jump to search
(Created page with "[http://alttp.com/h/{{{1|0}}} {{{name|{{{1|permalink}}}}}}]")
 
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
[http://alttp.com/h/{{{1|0}}} {{{name|{{{1|permalink}}}}}}]
<noinclude>
Include a link to a seed that has a wikipage on this wiki in the Seed namespace.
= Usage =
<nowiki>{{Seedlink</nowiki>
| SeedID
| seed-id = ID of Seed
| seed-name = Name of Seed
| seed-permalink = Override Seed Permalink URL
}}
{{Seedlink|seed-id=0|seed-name=Example}}
</noinclude><includeonly>{{#if:{{{seed-name}}}|''{{{seed-name}}}''|{{{seed-id}}}}} ([[Seed:{{{seed-id|0}}}|wiki]], [{{#replace:{{{seed-permalink|http://alttpr.com/h/%seed_id%}}}|%seed_id%|{{{seed-id|0}}}}} patch], [{{#replace:{{#replace:{{{seed-permalink|http://alttpr.com/h/{{{seed-id|0}}}}}}|/h/|/hash/}}|%seed_id%|{{{seed-id|0}}}}} hash])</includeonly>

Latest revision as of 07:08, 9 August 2020

Include a link to a seed that has a wikipage on this wiki in the Seed namespace.

Usage

{{Seedlink
| SeedID
| seed-id = ID of Seed
| seed-name = Name of Seed
| seed-permalink = Override Seed Permalink URL
}}

Example (wiki, patch, hash)