Difference between revisions of "Template talk:Part"

From TheKolWiki
Jump to: navigation, search
m (contents of that template change frequently)
Line 8: Line 8:
 
::PS: Better not use this yet, or, at least, give it another name than Test ;)
 
::PS: Better not use this yet, or, at least, give it another name than Test ;)
 
::Much cooler it would be to have the variables extension to MediaWiki ... --[[User:Floh|<span style="color:green">F</span><span style="color:yellow">L</span><span style="color:orange">O</span>]] 14:30, 2 July 2007 (CDT)
 
::Much cooler it would be to have the variables extension to MediaWiki ... --[[User:Floh|<span style="color:green">F</span><span style="color:yellow">L</span><span style="color:orange">O</span>]] 14:30, 2 July 2007 (CDT)
 +
 +
Since {{tl|#rand}} was added several months ago, it's technically now possible to implement this using a #switch, though it would probably end up performing more poorly as a result. Nonetheless, here it is: lt;[[Anatomical Injuries|{{#switch:{{#rand:1|26}}|1=ankle|2=arm|3=arse|4=bung|5=calf|6=ear|7=elbow|8=eye|9=face|10=foot|11=forehead|12=giblets|13=groin|14=head|15=kidney|16=knee|17=leg|18=lower back|19=neck|20=nipple|21=shins|22=shoulder|23=skull|24=solar plexus|25=thigh|26=throat}}]]&gt; --{{User:Quietust/sig}} 05:22, 14 February 2009 (UTC)

Revision as of 05:22, 14 February 2009

Repetition

Is there any way of repeating a random body part? One of the lobsterfrogman's attack messages does this:

With a did-a-chik and a snapping of his mighty pincer, he severs your <part>. Ow! You really liked your <part>!

--Bagatelle 18:46, 27 June 2007 (CDT)

Yeah, Template:Test currently does that:
  • With a did-a-chik and a snapping of his mighty pincer, he severs your {{Test|<throat>| Ow! You really liked your }}!

--FLO 14:26, 2 July 2007 (CDT)

PS: Better not use this yet, or, at least, give it another name than Test ;)
Much cooler it would be to have the variables extension to MediaWiki ... --FLO 14:30, 2 July 2007 (CDT)

Since {{#rand}} was added several months ago, it's technically now possible to implement this using a #switch, though it would probably end up performing more poorly as a result. Nonetheless, here it is: lt;kidney> --Quietust (t|c) 05:22, 14 February 2009 (UTC)