Template:Cavegen: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span class="plainlinks">[{{fullurl:User:Porplemontage/Pikipedia:Caveripper}}?sublevel={{{1|}}}{{#if:{{{2|}}}|&seed={{{2}}}}}#firstHeading {{{text|Generate sublevel {{{1|}}}{{#if:{{{2|}}}|, seed {{{2}}}|<nowiki/> (random)}}}}}]</span></includeonly><noinclude>
<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}}})}} &#8594;'''}}}]</span>{{#if:{{{float|}}}|</div>}}</includeonly><noinclude>
==Info==
==Info==
This template creates a custom link to [[User:Porplemontage/Pikipedia:Caveripper]].
This template creates a custom link to [[Pikipedia:Cavegen]].


==Parameters==
==Parameters==
Line 14: Line 14:
|-
|-
! text
! text
| No || Generate sublevel... || Text || The link text.
| No || Generate sample map || Text || The link text.
|-
! float
| No ||  || Float || Set to "right" to float the link to the right.
|}
|}


==Skeleton==
==Skeleton==
<pre>
<pre>
{{User:Porplemontage/Template:Caveripper | <sublevel> | <seed> | text = <Generate sublevel...>}}
{{cavegen | <sublevel> | <seed> | text = <text> | float = <float>}}
</pre>
</pre>


Line 26: Line 29:
! Code || Result
! Code || Result
|-
|-
| <pre>{{User:Porplemontage/Template:Caveripper|scx7}}</pre>
| <pre>{{cavegen|scx7}}</pre>
| {{User:Porplemontage/Template:Caveripper|scx7}}
| {{cavegen|scx7}}
|-
| <pre>{{User:Porplemontage/Template:Caveripper|scx7|tiel}}</pre>
| {{User:Porplemontage/Template:Caveripper|scx7|tiel}}
|-
|-
| <pre>{{User:Porplemontage/Template:Caveripper|scx7|tiel|text=Check this out!}}</pre>
| <pre>{{cavegen|scx7|0x5A23BEDC}}</pre>
| {{User:Porplemontage/Template:Caveripper|scx7|tiel|text=Check this out!}}
| {{cavegen|scx7|0x5A23BEDC}}
|}
|}


[[Category:Inline templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 10:51, July 16, 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 = <text> | float = <float>}}

Examples

Code Result
{{cavegen|scx7}}
Generate sample map →
{{cavegen|scx7|0x5A23BEDC}}
Generate sample map (seed 0x5A23BEDC) →