Tardis:Infobox coding: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(Created page with "{{mosnav|p=Infoboxes|c=Infobox policies}} {{moss|'''Infoboxes''' must be portable, compact and interoperable.}} {{sc|T:IBOX CODE}} Infoboxes must be wr...")
Tag: sourceedit
 
mNo edit summary
Tag: sourceedit
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
{{moss|[[:category:infoboxes|'''Infoboxes''']] must be portable, compact and interoperable.}}
{{moss|[[:category:infoboxes|'''Infoboxes''']] must be portable, compact and interoperable.}}
{{sc|T:IBOX CODE}}
{{sc|T:IBOX CODE}}
Infoboxes must be written in [[help:Infoboxes|FANDOM's portable infobox XML]], not [[T:MARK|wikitext]]. This will ensure that Tardis' large mobile community will have the best possible experience.
Infoboxes must be written in [[help:Infoboxes|FANDOM's portable infobox XML]], not [[T:MARK|wikitext]]. In no way and at no time will infoboxes be combined with <nowiki><tabber></nowiki>, <nowiki><tabview></nowiki> or other non-portable "view selection" coding. This will ensure that Tardis' large mobile community will have the best possible experience.


Except in extraordinary cases, all infoboxes should also use a standard set of variable names, so that people moving from one infobox to another won't be confused. The variable <code>writer</code> should be used for writers in all media, for instance -- not <code>author</code> for books, but <code>scriptwriter</code> for television.
Except in extraordinary cases, all infoboxes should also use a standard set of variable names, so that people moving from one infobox to another won't be confused. The variable <code>writer</code> should be used for writers in all media, for instance -- not <code>author</code> for books, but <code>scriptwriter</code> for television.


Where possible, use cases should be combined so that there are fewer overall infoboxes, and therefore fewer places for bugs to hatch. For instance, {{tlx|Infobox Story}} is used for all media, not just television or comics.
Where possible, use cases should be combined so that there are fewer overall infoboxes, and therefore fewer places for bugs to hatch. For instance, {{tlx|Infobox Story}} is used for all media, not just television or comics.

Latest revision as of 00:08, 26 May 2017

Infoboxes must be portable, compact and interoperable.

Infoboxes must be written in FANDOM's portable infobox XML, not wikitext. In no way and at no time will infoboxes be combined with <tabber>, <tabview> or other non-portable "view selection" coding. This will ensure that Tardis' large mobile community will have the best possible experience.

Except in extraordinary cases, all infoboxes should also use a standard set of variable names, so that people moving from one infobox to another won't be confused. The variable writer should be used for writers in all media, for instance -- not author for books, but scriptwriter for television.

Where possible, use cases should be combined so that there are fewer overall infoboxes, and therefore fewer places for bugs to hatch. For instance, {{Infobox Story}} is used for all media, not just television or comics.