Template:Cavegen: Difference between revisions
Jump to navigation
Jump to search
m (Porplemontage moved page User:Porplemontage/Template:Caveripper to Template:Cavegen without leaving a redirect) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{float|}}}|<div class="float{{{float}}}">}}<span class="plainlinks">[{{fullurl: | <includeonly>{{#if:{{{float|}}}|<div class="float{{{float}}}">}}<span class="plainlinks">[{{fullurl:Pikipedia:Cavegen}}?sublevel={{{1|}}}{{#if:{{{2|}}}|&seed={{{2}}}}}#firstHeading {{{text|'''Generate sample map {{#if:{{{2|}}}|(seed {{{2}}})}} →'''}}}]</span>{{#if:{{{float|}}}|</div>}}</includeonly><noinclude> | ||
==Info== | ==Info== | ||
This template creates a custom link to [[ | This template creates a custom link to [[Pikipedia:Cavegen]]. | ||
==Parameters== | ==Parameters== | ||
Line 22: | Line 22: | ||
==Skeleton== | ==Skeleton== | ||
<pre> | <pre> | ||
{{ | {{cavegen | <sublevel> | <seed> | text = <Generate sample map> | float = <right>}} | ||
</pre> | </pre> | ||
Line 29: | Line 29: | ||
! Code || Result | ! Code || Result | ||
|- | |- | ||
| <pre>{{ | | <pre>{{cavegen|scx7}}</pre> | ||
| {{ | | {{cavegen|scx7}} | ||
|- | |- | ||
| <pre>{{ | | <pre>{{cavegen|scx7|0x5A23BEDC}}</pre> | ||
| {{ | | {{cavegen|scx7|0x5A23BEDC}} | ||
|} | |} | ||
[[Category:Templates]]</noinclude> |
Revision as of 09:00, April 10, 2024
Info
This template creates a custom link to Pikipedia:Cavegen.
Parameters
Parameter | Mandatory | Default | Purpose | Detailed description |
---|---|---|---|---|
1 | Yes | Sublevel | The sublevel ID. | |
2 | No | Seed | The seed text. | |
text | No | Generate sample map | Text | The link text. |
float | No | Float | Set to "right" to float the link to the right. |
Skeleton
{{cavegen | <sublevel> | <seed> | text = <Generate sample map> | float = <right>}}
Examples
Code | Result |
---|---|
{{cavegen|scx7}} |
Generate sample map → |
{{cavegen|scx7|0x5A23BEDC}} |
Generate sample map (seed 0x5A23BEDC) → |