Template talk:Part

From TheKolWiki
Revision as of 05:53, 14 February 2009 by Flargen (Talk | contribs)

Jump to: navigation, search

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|<kidney>| 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: <shins> --Quietust (t|c) 05:22, 14 February 2009 (UTC)

  • My issue I've seen so far is that in messages where this template needs to be provide a new part name each time it is used in a line, it isn't. I'm seeing nothing but the same part in each line. Is this what everyone else is seeing? If so, maybe we could add a flag to the template to use the randomization code above, that way we can make it generate new parts when it might otherwise not. --Flargen 05:53, 14 February 2009 (UTC)