Template:Random is obtained randomly from any suitable loot source.
Usage
- By default, the item name is {{FULLPAGENAME}}
- This can be overridden (for disabigs), with the parameter "name".
- The parameter "namelink" can be provided, if you want to use random on another page (such as a talk).
- Note that if you provide "namelink", but no "name", then "name" will default to "namelink" (so no need to provide both).
- If "boss" is provided, then that boss is specified that boss (and linked to).
- If "boss" is "bosses", then no link is provided
- If "bosslink" is also provided, then that is the page that links (for disambigs)
- If "boss=bosses", but "bosslink" is provided, then a link *will* appear.
- If "loc" is provided, then that is provided too.
- if "loclink" is also provided, then that is the link (for disambigs)
- If "loc2" is provided, then that is provided additional text. For example, second location.
Example
{{random}} | Template:Random is obtained randomly from any suitable loot source. | |
{{random |name=Bone Shredder }} | Bone Shredder is obtained randomly from any suitable loot source. | |
{{random |name=Bone Shredder |boss=bosses }} | Bone Shredder is obtained randomly from any suitable loot source but has an increased chance to drop from bosses. | Note: Notice that "bosses" is not linked. |
{{random |name=Bone Shredder |boss=Bone Head 2.0 }} | Bone Shredder is obtained randomly from any suitable loot source but has an increased chance to drop from Bone Head 2.0. | |
{{random |name=Bone Shredder |boss=Bone Head 2.0 |loc=Arid Nexus - Badlands }} | Bone Shredder is obtained randomly from any suitable loot source but has an increased chance to drop from Bone Head 2.0 located in Arid Nexus - Badlands. | |
{{random |name=Bone Shredder |namelink=Bone Shredder (Borderlands 2) |boss=B.H. 2 |bosslink=Bone Head 2.0 |loc=Firestone 2 |loclink=Arid Nexus - Badlands }} | Bone Shredder is obtained randomly from any suitable loot source but has an increased chance to drop from B.H. 2 located in Firestone 2. | Note: Here we illustrate usage with disambigs |
{{random |namelink=RokSalt }} | RokSalt is obtained randomly from any suitable loot source. | Note: If you want to use RokSalt's random on another page, you just need namelink. |
{{random |name=Bone Shredder |boss=bosses |loc=Arid Nexus - Badlands |loc2=on [[Pandora]]}} }} | Bone Shredder is obtained randomly from any suitable loot source but has an increased chance to drop from bosses located in Arid Nexus - Badlands on Pandora. | Note: Example for usage of "loc2" as second location. "boss" field required. |
Community content is available under CC-BY-SA
unless otherwise noted.