Template talk:DDMonster

From DDwiki
Jump to: navigation, search

I'm not the greatest at Wiki-code so if anyone knows how to hide the fields that aren't used and can implement that it'd make these look a lot better. I know it involves a {{#if:this|then|else}} but I'm apprehensive about testing...--Gentlegiant03 20:40, 23 November 2010 (UTC)

  • I'm not the best coder ever, but I do know WIKI is basically HTML with added logic, so that sort of thing should be fairly easy. Still, the monster pages themselves would need to contain an identifier telling the template whether the boss thing should be added or not. I think it's pretty easy, but I'd have to study it a little, so don't worry if you see some weirdness in the monster files for a while... ;) --Headrock 21:10, 23 November 2010 (UTC)
  • Well that failed miserably. I'm not sure I even understand how the IF statement works at all.
    • To be honest I don't think the monster boxes without a boss look all that bad... really just wanted to avoid seeing brackets and there aren't any so that's all good.--Gentlegiant03 22:11, 23 November 2010 (UTC)
  • I think the Wiki codes have to be generated by an admin. I have no experience with them either.
  • Secondary, I wonder if a special infobox for Campaign bosses might be appropriate? Also, if there was a desire to have monster infoboxes without the boss info, maybe a boss only template?
    • Yeah, this has been a thorn in my side when working with these templates. Without If/Then parsers I can't have the boss fields blank when not filled in. I considered having separate templates, one for monster, one for monster+boss, one for boss... you bring up a great idea though: just monster and boss separated, just pop one below the other. I'll tackle this later today if possible, see how it'll look, maybe name DDBoss?--Gentlegiant03 18:57, 4 January 2011 (UTC)