User:Squatch/Infobox bugs
For other wiki devs, I was trying to make an if case check for a section transclusion and display either the section on success or a generic "there are no tracked bugs" message for niceness, I cannot seem to get it to function so for now this just sits in shame.
Docs[edit]
{{infobox bugs | link = <!-- override for main article link --> (optional, string, default is 'section') | section = <!-- section for transclusion via #lst --> (optional, string, default is SUBPAGENAME) }}
Example[edit]
Main article: Null
You're in Luck, there are no current bugs being tracked.
Test[edit]
A quick and dirty one page example test case against a section I know has valid bugs & text in it to see how the #if: parser function worked... Template:Infobox bugs