A KoL Wiki:Sandbox: Difference between revisions

From A KoL Wiki
imported>Pastrywoman
mNo edit summary
imported>Pastrywoman
mNo edit summary
Line 1: Line 1:
[[Category:Sandbox]] __NOTOC__
<includeonly>|-
This page is here for you to play around with, and learn about how to create and edit wiki pages. Do what you like with it, but please leave this explanatory information untouched. Also, please make an effort to use the "Show preview" option when editing pages, in order to avoid cluttering the [[Special:Recentchanges|recent changes]] list with numerous attempts to format something correctly. Advanced editors who wish wish to test templates should use [[Template:Test]] instead.
| id="{{{aname|player-id-player-id-{{{1}}}}}}"| {{{name|{{{2|<Player's Name Unknown>}}}}}} || {{{1}}} || {{#ifexpr: {{{3}}} > 0 | [[File:{{{avatar1|{{{4|{{{1}}}.gif}}}}}}]] }}{{#ifexpr: {{{3}}} > 1 | [[File:{{{avatar2|{{{5|{{{1}}}_2.gif}}}}}}]] }}{{#ifexpr: {{{3}}} > 2 | [[File:{{{avatar3|{{{6|{{{1}}}_3.gif}}}}}}]] }}{{#ifexpr: {{{3}}} > 3 | [[File:{{{avatar4|{{{7|{{{1}}}_4.gif}}}}}}]] }}{{#ifexpr: {{{3}}} > 4 | [[File:{{{avatar5|{{{8|{{{1}}}_5.gif}}}}}}]] }}{{#ifexpr: {{{3}}} > 5 | [[File:{{{avatar6|{{{9|{{{1}}}_6.gif}}}}}}]] }}{{#ifexpr: {{{3}}} > 6 | [[File:{{{avatar7|{{{10|{{{1}}}_7.gif}}}}}}]] }}{{#ifexpr: {{{3}}} > 7 | [[File:{{{avatar8|{{{11|{{{1}}}_8.gif}}}}}}]] }}{{#ifexpr: {{{3}}} > 8 | [[File:{{{avatar9|{{{12|{{{1}}}_9.gif}}}}}}]] }}</includeonly><noinclude>


The contents of this page are subject to deletion at any time. If you need to save something, then place it on your user page.
[[Category:Test Templates|{{PAGENAME}}]]
__NOTOC__
{{Code2}}


For more information, see [[Help:Contents]].
==Instructions==
Similar to the [[TheKolWiki:Sandbox|Sandbox]], this page is here for you to play around with templates. Do what you like with it, but please leave this explanatory section.


----<!--Play around below this line.-->
Insert your desired template contents above between the "includeonly" tags, and alter the instance below to include any parameters you may need. You may need to [http://kol.coldfront.net/thekolwiki/index.php?title={{FULLPAGENAME}}&action=purge purge this page] to see the effects of changes to this template's code. The same also holds for any other template. Otherwise, you may have to wait several minutes before the wiki starts using the new code.
 
Always give a template a category, even if it is [[:Category:Test Templates]]. For help on how a template works, read some [[MetaWikipedia:Help:Template|documentation]].
 
Current Test: ElfPictures
 
==Examples==
<nowiki>{{Template:Test|1|jick|7|jick_avatar.gif|jick_avatar2.gif|avatar4=jick_avatar4.gif|jick_avatar3.gif}}</nowiki>
{| border="1px" cellpadding="4px" cellspacing="0" style="margin:1em; text-align:center; width: 100%"
{| border="1px" cellpadding="4px" cellspacing="0" style="margin:1em; text-align:center; width: 100%"
|- style="background-color:#EFEFEF;"
|- style="background-color:#EFEFEF;"
! Player Name !! Player ID !! Custom Avatar(s)
! Player Name !! Player ID !! Custom Avatar(s)
{{Template:Test|jick|7|jick_avatar.gif|jick_avatar2.gif|avatar4=jick_avatar4.gif|jick_avatar3.gif}}
{{Template:Test|1|jick|7|jick_avatar.gif|jick_avatar2.gif|avatar4=jick_avatar4.gif|jick_avatar3.gif}}
{{Template:Test|1061|Janice is Uber Cool|2}}
{{Template:Test|1061|Janice is Uber Cool|2}}
|}
|}
</noinclude>

Revision as of 20:53, 2 April 2019


{{Sandbox}}
[[:Template:Sandbox]]

Instructions

Similar to the Sandbox, this page is here for you to play around with templates. Do what you like with it, but please leave this explanatory section.

Insert your desired template contents above between the "includeonly" tags, and alter the instance below to include any parameters you may need. You may need to KoL Wiki:Sandbox&action=purge purge this page to see the effects of changes to this template's code. The same also holds for any other template. Otherwise, you may have to wait several minutes before the wiki starts using the new code.

Always give a template a category, even if it is Category:Test Templates. For help on how a template works, read some documentation.

Current Test: ElfPictures

Examples

{{Template:Test|1|jick|7|jick_avatar.gif|jick_avatar2.gif|avatar4=jick_avatar4.gif|jick_avatar3.gif}}

Player Name Player ID Custom Avatar(s)

1


1061