Sandbox infobox

Revision as of 15:10, 18 December 2023 by Anders (talk | contribs) (Created page with "{| class="infobox" | colspan="6" style="text-align:center;font-size:10pt" | '''PHILIPPINES'''<br/>300px<br /> {|class="wikitable sortable" !colspan="3" style="color:green;"|Let's eat |- !style="background-color:#cfcfcf;" align="center" | Dish!!How it looks |- |Balut ba ba ba ba ba ggggggggggggba ba ba ba ||75px |- |Balut||75px |- |-class="sortbottom" |} |- ! style="background:lightgreen;width:;font-size:10...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
PHILIPPINES
File:Phfood.png
Let's eat
Dish How it looks
Balut ba ba ba ba ba ggggggggggggba ba ba ba
Balut
Philippines


Designing

Editors generally compose infoboxes from four types of visual elements: A title, images, sections, and fields. Since these terms are not standard, we illustrate them here:

The selection and arrangement of fields is an important design decision for which gives some general advice. The part of a field that varies from article to article becomes a parameter for the newly prototyped infobox and must be consistently expressed in two distinct places:

  1. In the infobox implementation itself, to indicate where the article-specific text is to be displayed
  2. In the infobox documentation, to indicate which article-specific information editors are to provide when using the infobox

Additionally, the editor should decide whether a field (and hence its corresponding parameter) is required or optional. The difference between the two is that a required field is always displayed; an optional field is not displayed where articles referencing the infobox omit the parameter. If the field is required, the infobox designer should consider whether a default value for the field is useful.