Template:Seedlink: Difference between revisions

From ALttPR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
  }}
  }}
{{Seedlink|seed-id=0|seed-name=Example}}
{{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])</includeonly>
</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:{{{seed-permalink|http://alttpr.com/h/%seed_id%}}}|h/%seed_id%|hash/{{{seed-id|0}}}}} hash])</includeonly>

Revision as of 06:34, 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)