Template:Seedlink: Difference between revisions

From ALttPR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 8: Line 8:
  | seed-permalink = Override Seed Permalink URL
  | seed-permalink = Override Seed Permalink URL
  }}
  }}
{{Seedlink|seed-id=0|seed-name=Example|seed-permalink=}}
{{Seedlink|seed-id=0|seed-name=Example}}
</noinclude><includeonly>{{#if:{{{seed-name}}}|''{{{seed-name}}}''|{{{seed-id}}}}} ([[Seed:{{{seed-id|0}}}|wiki]], [http://alttpr.com/h/{{{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:{{#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)