Sandbox infobox: Difference between revisions

no edit summary
(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...")
 
No edit summary
Line 1: Line 1:
{| class="infobox"
{{Hotel
| colspan="6" style="text-align:center;font-size:10pt" | '''PHILIPPINES'''<br/>[[Image:Phfood.png|300px]]<br />
|Image1=Clubpuertoatlantico.png
{|class="wikitable sortable"
|name=Club Puerto Atlantico
!colspan="3" style="color:green;"|Let's eat
|type=Hotel
|-
|year_visited=2008
!style="background-color:#cfcfcf;"  align="center" | Dish!!How it looks
|checked_in=2008/11/07
|-
|Checked_out=2008/11/08
|[[Balut ba ba ba ba ba ggggggggggggba ba ba ba ]]||[[File:Edit.png|75px]]
|location_city=Arguineguin
|-
|location_country=Spain
|[[Balut]]||[[File:Edit.png|75px]]
}}
|-
{{Contact}}
|-class="sortbottom"
{{Infobox company jobb
|}
|Image1=Clubpuertoatlantico.png
|-
|company_type=Hotel
! style="background:lightgreen;width:;font-size:10pt" | Philippines
|location_city=Arguineguín
|-
|location_country=Spain
|}
|owner=Eugine Caiser
|website=http://puertoatlantico.com/uk
}}
{{Infobox
| image=
{{#display_map: 27.763171, -15.684900~Club Puerto Atlantico
|centre=27.763171, -15.684900
|zoom=15
|height=300
}}
| data1 = 2008}}


János, hans fru och barn stod i baren.




===Designing===
{{Jobb}}
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:
{{Gran Canaria}}
 
{{Pub}}
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:
 
#In the infobox implementation itself, to indicate where the article-specific text is to be displayed
#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.