Wikipedia:Infobox templates
د Wikipedia لخوا
An infobox template is an infobox that uses the template software feature.
Like static infoboxes, they are designed to present summary information about an article's subject, such that similar subjects have a uniform look and in a common format. However, the template technique allows updates of style and of common text from a central place, the template page.
These boxes are designed to be placed into main articles related to the topic area, and are usually associated with on-going WikiProjects. They have parameters; to work properly, the parameter values have to be specified when the template is inserted in the page. This allows each infobox to show information relevant to the article subject, while requiring only a minimal amount of coding within each article.
نيوليک |
[سمادول] Design and usage
The recommended process for creating an infobox template is to begin simply, and gather as many requirements as possible. It is highly suggested that the base format for a new template be tested as a static table first, then, once consensus is reached, moved into template format. It should be reviewed before being heavily used in articles to minimize re-work, in case the template or defined parameters, require modification. If new fields and parameters are added, then articles must be updated to reflect the new requirements. If parameters are renamed or removed, then many articles will likely be unaffected, since extraneous parameters are ignored.
For consistency the following rules apply:
- Standard suggested width of 300 pixels or 25 ems (300px or 25em in CSS).
- Inserted at the top of the article, and aligned to the right side. Using
class="infobox"
is a good start. - The top line should be reasonably bold, and contain the full (official) name of the item. This does not need to match the article's Wikipedia title. It should not contain a link. Avoid {{{PAGENAME}}} as pages may be moved for disambiguation.
- Name the template [[Template:Infobox Some subject]] (Somesubject should be in the singular and capitalized).
When creating a new infobox template, the content of Template:Infobox is a convenient starting point.
Parameters in infoboxes should be named, not numbered, to provide for future use. A parameter value can contain images (i.e. full image tags), or there can be parameters for parts of an image tag such as the image name, the size and the caption. In the latter case, if an image is not applicable or available, use a dummy image such as Image:No image.png.
If any parameter is not applicable, or no information is available, it must still be assigned a value; this can be the empty string, or, if it is the only thing in a table cell, use "some_field= ". The field will appear blank; the code is needed by some browsers for drawing the lines of the table itself properly.
Alternatively, there are ways to have a template selectively hide information or provide default values if not defined: For an example and explanation of how these methods apply to infoboxes, see {{Infobox}}.
Note that the Wikipedia:Avoid using meta-templates proposal suggests that you try to avoid having an infobox call another template. Instead, incorporate text from the other template directly into the infobox.
[سمادول] Interaction between multiple templates
Templates can be designed in a modular way, such that various combinations are possible. A combination may even appear on the page as a single infobox.
For example, if the WikiProject Saints group wanted to design a template based on their static Infobox, they could use Template:Infobox Biography, and design a project-specific template with only additional information, and the pages would render both "stacked" together.
[سمادول] د کېنډيو لړليک
In many cases, to view a template properly, one has to look at the wikitext also. Therefore below the edit pages are linked. For viewing templates it is convenient to set the preferences to "Show preview on first edit".
The backlinks show the pages with the infobox.
Below, first the primary templates are listed; they are designed to provide high-level information appropriate to a broad subject area.
[سمادول] وګړپوهنه او فرهڼ
Name | Where to use | Associated WikiProject |
---|---|---|
کينډۍ:Ti | Ethnic groups | Ethnic groups |
[سمادول] ستورپېژندنه
Name | Where to use | Associated WikiProject |
---|---|---|
کينډۍ:Ti | Full planet articles (including Pluto) | Astronomical objects |
کينډۍ:Ti | Minor planet articles | Astronomical objects |
کينډۍ:Ti | Minor planet stub articles | Astronomical objects |
کينډۍ:Ti | Exoplanet articles | Astronomical objects |
کينډۍ:Ti | Stub star articles | Astronomical objects |
کينډۍ:Ti | Individual star articles (this template is to be replaced by the one below) | Astronomical objects |
کينډۍ:Ti کينډۍ:Ti کينډۍ:Ti کينډۍ:Ti کينډۍ:Ti کينډۍ:Ti کينډۍ:Ti کينډۍ:Ti کينډۍ:Ti |
Individual star articles (flexible set of templates) | Astronomical objects |
کينډۍ:Ti | Supernovæ articles | Astronomical objects |
کينډۍ:Ti | Globular cluster articles | Astronomical objects |
کينډۍ:Ti | Galaxy articles | Astronomical objects |
[سمادول] ژواکپوهنه
Name | Where to use | Associated WikiProject |
---|---|---|
کينډۍ:Ti | Articles on species and other groups of living things | Tree of Life |
کينډۍ:Ti | Articles on plant cultivars | Tree of Life |
کينډۍ:Ti | Dog breeds | Dog breeds |
[سمادول] کيميا
Name | Where to use | Associated WikiProject |
---|---|---|
کينډۍ:Ti | Full chemical compound articles | Chemicals |
کينډۍ:Ti | Starting organic compound articles | Chemicals |
کينډۍ:Ti | Starting inorganic compound articles | Chemicals |
[سمادول] زده کړې
Name | Where to use | Associated WikiProject |
---|---|---|
کينډۍ:Ti | Universities and colleges | Universities |
کينډۍ:Ti | Universities and colleges | Universities |
کينډۍ:Ti | Law schools | Universities |
[سمادول] Fiction
Name | Where to use | Associated WikiProject |
---|---|---|
کينډۍ:Ti | James Bond books | None / not known |
کينډۍ:Ti | James Bond movies | None / not known |
کينډۍ:Ti | Dilbert TV | None / Not Known |
کينډۍ:Ti | Forgotten Realms places | Forgotten Realms |
کينډۍ:Ti | Harry Potter characters | Template:HP Character Foreign Template:HP Forest Character Template:HP Elf Character |
کينډۍ:Ti | James Bond characters | None / not known |
کينډۍ:Ti | Doctor Who characters | None / not known |
کينډۍ:Ti | M*A*S*H characters | Television? |
کينډۍ:Ti | Star Trek characters | Star Trek? |
کينډۍ:Ti | Star Wars characters | None / not known |
کينډۍ:Ti | Star Wars vehicle specifications | None / not known |
کينډۍ:Ti | Stargate characters | Stargate |
کينډۍ:Ti | Transformers characters | None / not known |
کينډۍ:Ti | anime and manga articles. | Wikipedia:WikiProject Anime and manga |
کينډۍ:Ti | pages on single episodes of television series | Television episodes |
کينډۍ:Ti | A Series of Unfortunate Events characters | None / not known |
کينډۍ:Ti | A Series of Unfortunate Events organisations | None / not known |
[سمادول] جغرافيه
Name | Where to use | Associated WikiProject |
---|---|---|
کينډۍ:Ti | River articles | Rivers |
کينډۍ:Ti | City articles | Cities |
کينډۍ:Ti | Town articles | None |
کينډۍ:Ti | Massachusetts town articles | Massachusetts |
کينډۍ:Ti | Country and nation articles | Countries |
کينډۍ:Ti | Country and nation articles | Countries |
کينډۍ:Ti | Country and nation articles | Countries |
کينډۍ:Ti | US County articles | None |
کينډۍ:Ti | Counties of the United States | None |
کينډۍ:Ti | Provinces of Cameroon | None |
کينډۍ:Ti | Political Divisions of Venezuela; Venezuelan State | None |
کينډۍ:Ti | Political Divisions of Venezuela; Venezuelan State | None |
کينډۍ:Ti | Regions of Peru | None |
کينډۍ:Ti | U.S. state articles | U.S. States |
کينډۍ:Ti | any place outside London | None |
کينډۍ:Ti | any place outside London with map | None |
کينډۍ:Ti | any place outside London in a parished area | None |
کينډۍ:Ti | any place in a unitary authority | None |
کينډۍ:Ti | any place in London | London |
کينډۍ:Ti | any place in Wales | None |
کينډۍ:Ti | any place in Scotland | None |
کينډۍ:Ti | Dutch municipality articles | Dutch municipalities |
کينډۍ:Ti | States and territories of Australia | Australian politics |
کينډۍ:Ti | Australian city articles | None |
کينډۍ:Ti | German city articles | None |
کينډۍ:Ti | Prefectures of Greece | None |
کينډۍ:Ti | Micronations | None |
کينډۍ:Ti | National parks and other protected places | Protected areas |
[سمادول] Industry
Name | Where to use | Associated WikiProject |
|
---|---|---|---|
کينډۍ:Ti | Business organization articles | Companies |
[سمادول] رسنۍ او خبريالي
Name | Where to use | Associated WikiProject |
---|---|---|
کينډۍ:Ti | Project internal template | Media Project templates |
کينډۍ:Ti | Journalism articles | Journalism Project |
کينډۍ:Ti | Infobox for television stations | Television Stations |
کينډۍ:Ti | Radio stations | Radio Stations |
کينډۍ:Ti | Information box for articles about websites | None |
[سمادول] خلک
Name | Where to use | Associated WikiProject |
---|---|---|
کينډۍ:Ti (deprecated?) | Articles about professional baseball players | Baseball players |
کينډۍ:Ti | MLB-specific template (deprecated) | Baseball players |
کينډۍ:Ti | Newer version of above template | Baseball players |
کينډۍ:Ti | Articles about professional tennis players | Tennis |
کينډۍ:Ti | Articles describing people (living or deceased) | Biography |
کينډۍ:Ti | Politician articles in place of Infobox Biography | none |
کينډۍ:Ti | Popes in place of Infobox Biography | None |
کينډۍ:Ti | U.S. Presidents in place of Infobox Biography | None |
کينډۍ:Ti | British Prime Ministers in place of Infobox Biography | Wikipedia:WikiProject British Government |
کينډۍ:Ti | Playboy Playmates in place of Infobox Biography | None |
کينډۍ:Ti | Senator in place of Infobox Biography | None |
کينډۍ:Ti | Articles about ethnic groups etc | Ethnic groups |
[سمادول] ترانسپورت
Name | Where to use | Associated WikiProject |
---|---|---|
کينډۍ:Ti | Airline articles | Airlines |
کينډۍ:Ti | Airport articles | Airports |
کينډۍ:Ti | California State Route articles | California State Highway Project |
کينډۍ:Ti | Washington State Route articles | Washington State Highway Project |
کينډۍ:Ti | Kentucky State Route articles | Kentucky State Highway Project |
کينډۍ:Ti | U.S. Interstate Highway | U.S. Interstate Highway Project |
کينډۍ:Ti | Missouri State Highway articles | Missouri State Highway Project |
کينډۍ:Ti | U.S. Highway | U.S. Highway Project |
کينډۍ:Ti | Texas State Highway articles | |
کينډۍ:Ti | New Hampshire State Highway articles | New Hampshire State Highway Project |
کينډۍ:Ti | Roads | |
کينډۍ:Ti کينډۍ:Ti |
Railroads/Railways (second for standard gauge) | Trains |
کينډۍ:Ti | Rail companies |
[سمادول] بېلابېل
Name | Where to use | Associated WikiProject |
---|---|---|
کينډۍ:Ti | Any article about a music album | Albums |
کينډۍ:Ti | Taxonavigation box for animal families (first draft) | None |
کينډۍ:Ti | Infobox for bands | None |
کينډۍ:Ti | Infobox for books | Books & Novels |
کينډۍ:Ti | political parties of Canada | |
کينډۍ:Ti | 88 standard constellations | Constellations |
کينډۍ:Ti | Computer and video game articles | Computer and video games |
کينډۍ:Ti | Game descriptions | Games |
کينډۍ:Ti | Arcade game descriptions | |
کينډۍ:Ti | Machinima productions | None |
کينډۍ:Ti | Movies and films | Films |
کينډۍ:Ti | Musical genre articles | Music genres |
کينډۍ:Ti | Computer software | Software |
کينډۍ:Ti | Top level domain | None |
کينډۍ:Ti | Super Bowl games | National Football League |
کينډۍ:Ti | Television series | Television |
کينډۍ:Ti | Space mission articles | |
کينډۍ:Ti | Military conflicts (battles, wars, etc.) | Military history |
کينډۍ:Ti | Military units | Military history |
[سمادول] دا هم وګورۍ
- List of infobox templates
- Category:Articles needing an infobox
- Category:Infobox templates
These pages describe other types of templates:
- Wikipedia:Template messages are used primarily to insert simple "boilerplate" messages for Wikipedia maintenance or editing purposes.
- Wikipedia:Navigational templates are article footers designed to provide links to several related articles.
- Wikipedia:MediaWiki interface messages are reserved for internal system use, and can only be modified by administrators.