Community Central
Community Central
Forums: Index Support Requests 'Master navbox' help
Fandom's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Archive
Note: This topic has been unedited for 5063 days. It is considered archived - the discussion is over. Information in this thread may be out of date. Do not add to unless it really needs a response.


I recently made an attempt to counter the growing inclusion of appearence-related navboxes on the Resident Evil Wiki by creating a master navbox where related navboxes could be hiden inside, saving space and making the pages tidier. However, my knowledge of the {{#if}} tag is very limited and I have so far been unable to display the specifically-desired sub-navboxes onto the sandbox in any way. I was intending to use {{Game|RE0|RE1}} to generate the appropriate sub-navboxes, but they have so far failed to show up.-- Forerunner 17:38, August 6, 2011 (UTC)

#if: syntax is pretty simeple: {{#if: text is present | text if true | text if false}}. An example of this would be {{#if: {{{showmessage|}}} | This is a message}}, where if the parameter showmessage is specified, the text "This is a message" is displayed.  Monchoman45  Talk  Contribs  Skystone  17:44,8/6/2011 

As far as I can see the template is working fine as a navbox. What's the specific problem? —This unsigned comment is by Nidek (talkcontribs) . Please sign your posts with ~~~~!

I am unable to generate the desired sub-navboxes on the sandbox page. I am sure I have made an obvious mistake in the template coding, though I can't work out where, exactly. As a universal template no article requires the usage of every possible field.--Forerunner 19:49, August 6, 2011 (UTC)
I got it working with a slight change and a different syntax ({{Game|RE0=yes|RE1=yes}}). Your syntax is possible, but is more difficult to recreate. - Tjcool007 (Talk) 21:25, August 6, 2011 (UTC)