Difference between revisions of "Template talk:DDMonster"

From DDwiki
Jump to: navigation, search
Line 2: Line 2:
 
* 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... ;) --[[User:Headrock|Headrock]] 21:10, 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... ;) --[[User:Headrock|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.
 
* 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.--[[User:Gentlegiant03|Gentlegiant03]] 22:11, 23 November 2010 (UTC)

Revision as of 22:11, 23 November 2010

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)