5,637
edits
(→Perhaps..: Vanishing parameter) |
|||
| Line 89: | Line 89: | ||
::Is it possible to do an alternate infobox, that includes everything from the standard infobox, but adds on wikifarm? That would stop all other wikis having some sort of 'None' line. | ::Is it possible to do an alternate infobox, that includes everything from the standard infobox, but adds on wikifarm? That would stop all other wikis having some sort of 'None' line. | ||
::Alternatively, would it be possible to have a WikiFarm line that vanishes if the line is left blank, but adds [[:Category:Wikia]] or whatever, if filled in? [[User:David Shepheard|David Shepheard]] 11:08, 28 February 2011 (PST) | ::Alternatively, would it be possible to have a WikiFarm line that vanishes if the line is left blank, but adds [[:Category:Wikia]] or whatever, if filled in? [[User:David Shepheard|David Shepheard]] 11:08, 28 February 2011 (PST) | ||
:Both solutions are possible, but I think that the 2nd solution might work better. Otherwise, when we modified the standard infobox, we'd also need to modify the alternate infoboxes. I can easily see them getting out of sync. I've learned but have forgotten the syntax to make an optional parameter that will not appear if not used. I believe it uses some kind of {{{if}}} statement. It already exists in practice in the standard template for the wiki license parameter. --[[User:MarvelZuvembie|MarvelZuvembie]] 14:57, 28 February 2011 (PST) | |||