An diofar eadar na mùthaidhean a rinneadh air "Teamplaid:Infobox/doc"
Content deleted Content added
No edit summary |
b Deasachaidhean a chaidh a thilleadh le 142.4.216.61 (talk) dhan mhùthadh mu dheireadh le MerlIwBot |
||
Loidhne 1:
{{documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
This template is intended as a meta-template: a template used for constructing other templates. It is not meant for use directly in an article, but can be used on a one-off basis if required. See [[Help:Infobox]] for an introduction to infoboxes and information on how to design them. See [[:Category:Infobox templates]] for specific infobox templates.
Loidhne 10:
==== Number ranges ====
<pre>|header3 = Section 1
|label5 = Label A
Loidhne 21:
=== Parameters ===
====View/discuss/edit links====
;name : The template page name that the "view/discuss/edit" links should point to. You can use <nowiki>{{subst:PAGENAME}}</nowiki>. If this parameter is omitted the view/discuss/edit links will not be displayed.
====Title====
Line 46 ⟶ 42:
====Optional content====
;subheader, subheader2 : additional title fields which fit
;image, image2 : images to display at the top of the template. Use full image syntax, for example <nowiki>[[File:example.png|200px|alt=Example alt text]]</nowiki>. Image is centered by default. See [[WP:ALT]] for more on alt text.
;caption, caption2 : Text to put underneath the images.
Line 55 ⟶ 51:
;child: See the [[#Embedding|embedding]] section for details.
Note: currently, headers, labels and data items with the same n-value are not mutually exclusive; all of them will be displayed. See the rendering of header4, label4, and data4 in the examples section below.
====Optional CSS styling====
Line 79 ⟶ 71:
; subheaderclass : This parameter is inserted into the "class" attribute for the infobox's subheader.
; subheaderrowclass : This parameter is inserted into the "class" attribute for the complete table row the subheader is on.
;imageclass : This parameter is inserted into the "class" attribute for the image; it is in particular used in conjunction with {{tl|Image class names}}.
; imagerowclass1, imagerowclass2 : These parameters are inserted into the "class" attribute for the complete table row the respective images are on.
;rowclass(n) : This parameter is inserted into the "class" attribute for the specified row '''including''' the label or other explanatory text.
Line 121 ⟶ 113:
This way if an article doesn't define the population parameter in its infobox the row won't be displayed.
For more complex fields with pre-
<pre>
Line 313 ⟶ 305:
| child = yes
| title = Second subsection
| label1= Label 2.1
| data1 = Data 2.1
Line 359 ⟶ 314:
=== Full blank syntax ===
(Note: the template currently handles up to
<pre style="overflow:auto;">
Line 448 ⟶ 403:
=== Porting to other MediaWikis ===
The infobox template requires the tidy extension to be installed, and may not work with other MediaWikis
=== See also ===
* {{tl|infobox3cols}}
<includeonly>
[[als:Vorlage:Infobox]]▼
[[ar:قالب:قالب معلومات]]
[[be:Шаблон:Картка]]
[[be-x-old:Шаблён:Картка]]
[[bg:Шаблон:Infobox]]
[[bs:Šablon:Infokutija]]
[[ca:Plantilla:Infotaula]]▼
[[cs:Šablona:Infobox]]
[[csb:Szablóna:Infobox]]▼
[[cy:Nodyn:Gwybodlen3]]
[[da:Skabelon:Infoboks-en]]
[[de:Vorlage:Infobox]]
[[el:Πρότυπο:Πλαίσιο πληροφοριών]]
[[
[[eo:Ŝablono:Informkesto]]
[[et:Mall:Infobox]]▼
[[fa:الگو:دادان]]
[[fi:Malline:Tietolaatikko]]
[[fr:Modèle:Infobox]]
[[gl:Modelo:Infobox]]▼
[[hsb:Předłoha:Infokašćik]]
[[
[[ia:Patrono:Infobox]]
[[
[[is:Snið:Infobox]]
[[
[[no:Mal:Infoboks]]▼
[[ja:Template:Infobox]]
▲[[csb:Szablóna:Infobox]]
[[ko:틀:정보상자]]▼
[[ka:თარგი:ინფოდაფა]]
▲[[km:ទំព័រគំរូ:ប្រអប់ព័ត៌មាន]]
▲[[ko:틀:정보상자]]
[[nn:Mal:Infoboks]]
▲[[no:Mal:Infoboks]]
[[pt:Predefinição:Info]]
[[ro:Format:Infobox]]
[[ru:Шаблон:Карточка]]
[[sk:Šablóna:Infobox]]
[[sl:Predloga:Infopolje]]
[[sv:Mall:Infobox]]
[[th:แม่แบบ:กล่องข้อมูล]]
▲[[tpi:Template:Infobok]]
[[tr:Şablon:Bilgi kutusu]]
[[uk:Шаблон:Картка]]
Line 515 ⟶ 454:
[[vi:Bản mẫu:Infobox]]
[[zh:Template:Infobox]]
<noinclude>
[[Category:Teamplaid sa Bheurla]]
</noinclude>
|