Plantilia:Asbox/dok
Daytoy ti subpanid ti dokumentasion para iti Plantilia:Asbox. Aglaon daytoy kadagiti pakaammo ti panagusar, dagiti kategoria, ken dadduma a linaon a saan a paset ti kasisigud a panid ti plantilia. |
Inus-usar ti Plantilia:Asbox kadagiti adu a panid, no baliwam adunto ti makadlaw. Pangngaasi nga umuna a subokan kadagiti subpanid ti /pagipadasan wenno /pangsubok, wenno iti bukodmo a subpanid, ken usigen a pagtungtungan dagiti binaliwan iti panid ti tungtungan sakbay nga isayangkat. |
Daytoy dokumentasion a subpanid ti plantilia ket saan pay wenno agdama pay laeng a maipatpatarus. No kayat ti tumulong nga agipatarus kadagiti kastoy a panid, kitaen ti Kategoria:Dagiti subpanid ti dokumentasion a nasken a maipatarus. |
Agus-usar daytoy a plantilia iti Lua: |
Dagiti meta plantilia ti kahon ti mensahe | |
---|---|
plantilia | konteksto |
{{Ambox}} | artikulo |
{{Cmbox}} | kategoria |
{{Imbox}} | ladawan |
{{Tmbox}} | tungtungan |
{{Fmbox}} | sakaanan / paulo |
{{Ombox}} | dadduma a pampanid |
{{Mbox}} | automatiko a maduktalan |
{{Asbox}} | pungol nga artikulo |
{{Dmbox}} | panangilawlawag |
Daytoy ti meta-plantilia ti Asbox ([A]rticle [s]tub [box]). Daytoy ti pagalgadan a plantilia a maus-usar para it ipanagpartuat ti baro wenno panagpabaro kadagiti adda a plantilia ti kahon ti pungol nga artikulo. Daytoy ket mabalin a masuportaranna amin dagiti estilo ti plantilia ti pungol.
Batayan a panagusat
urnosen{{Asbox | image = | subject = | qualifier = | category = | name = }}
image
urnosenNagan laeng ti papeles ken awan ti pasaruno, a kas ti "Image.png" (awan dagiti marka ti inadaw a sasao). Ti ladawan ket maipadakkelto iti 40x30px.
subject
urnosenMaikabil sakbay ti balikas ti "artikulo" iti plantilia (kas ti "biograpikal", nga agpataud ti "Daytoy a biograpikal nga artikulo ket (...)").
qualifier
urnosenMaikabil kalpasan ti balikas ti "artikulo" (kas ti "a maipanggep iti musikero", nga agpataud ti "(...) artikulo a maipanggep iti musikero ket (...)").
category
urnosenNagan laeng ti kategoria a pakainayonan dagiti panid a pakausaran daytoy a plantilia (kas ti "Dagiti pungol ti pakasaritaan").
name
urnosenNapno a nagan ti plantilia ti pungol (inus-usar para iti akin-uneg a reperensia).
Daytoy a nalaka a panagusar ket mabalinen para kadagiti kaaduan a plantilia ti pungol. Dagiti maipatinayon a parametro ket naipalawag dita baba para iti narangrang-ay a panagusar.
Napno a sintaksis
urnosen{{Asbox | image = Ambox style.png | pix = | subject = | article = | qualifier = | category = | tempsort = | category1 = | tempsort1 = | note = | name = {{subst:FULLPAGENAME}} }}
Dagiti parametro
urnosenicon
or image
urnosen
If the image is called with an icon template, icon
is set to the full syntax of the template; that's the name of the template, plus any arguments (separated with | ), including the {{
and }}
around it. Icon can also be used to provide the full image markup (include the opening and closing square brackets), if special image settings such as "border" are to be used. If the image is called explicitly image
is the name of the image :- pix
will likely be required as well, the default value for pix
is 40x30.
imagealt
may be used to override the default alt text which is set to "Stub icon".
pix
urnosen
The size of the image in pixels (no need to append px). Only required if image
is used and this image requires a size different from the default maximum of 40x30 pixels. (Note that in the interests of standardising the formats of stub messages, images of size 40x30 are much preferred.)
subject
and qualifier
urnosen
This subject
article qualifier
is a stub ...
Examples:
- This geography article about a place in Rohan is a stub ...
- This elementary physics article is a stub ...
- This article about Rudolph the Red-nosed reindeer is a stub ...
Daddauma pay a parametro
urnosenParametro | Deskripsion |
---|---|
category | The stub category the articles should go in. |
tempsort | If exists the stub template [?] (and any other templates) will be put in its own category sorted as " " (space) followed by tempsort , otherwise it will be sorted with the value of " " (space) followed by the template name.
|
category1 | An optional second stub category the articles should go in. |
tempsort1 | If exists the stub template [?] (and any other templates) will be put in its own category sorted as " " (space) followed by tempsort1 , otherwise it will be sorted with the value of " " (space) followed by the template name.
|
category# | New (Jan 2015): Since the release of Asbox's module, this template now supports an unlimited number of categories. Just replace '#' with a number, e.g. |category2=Normal stubs , |category99=Over-categorized stubs , etc. Traditionally, category2 was the max, so please only use more than 3 if the additional categories are unique, i.e. not sub or parent categories of the others.
|
tempsort# | New (Jan 2015): Similar to the category params, you can have any number of tempsort params. |
note | If exists the value [?] will be added, as a "small" note, to the stub template. |
name | The full page name of the template itself. |
demo | Has no effect in article space. Prevents category output. Set to anything to enable. (Even 'no' or 'false' will enable it!) New (Jan 2015): If demo is set, it will show pseudo-categories. If |demo=art then the pseudo-cats shown will only be those visible in article space (i.e. no error/hidden cats). Set |demo=doc to preview the documentation page as well (and all cats). See: Plantilia:Asbox/pangsubok
|
Dagiti pagarigan
urnosenPanagusar ti image
urnosen
Based on {{Østfold-geo-stub}}:
{{Asbox | image = Østfold_våpen.svg | pix = 30 | subject = [[Østfold]] location | name = Template:Østfold-geo-stub | category = Østfold geography stubs | tempsort = * }}
produces:
Panagusar ti icon
and category1
urnosen
Using icon
allows more flexibility in some circumstances than image
and pix
, since it can be used with templates. Based on {{Wales-footy-bio-stub}}:
{{Asbox | icon = {{soccer icon|Wales|50}} | subject = biographical | qualifier = related to Welsh association football | category = Welsh football biography stubs | tempsort = * | name = Template:Wales-footy-bio-stub }}
produces:
WhatLinksHere
urnosenTi panid ditoy ket addaan iti kompleto a listaan kadagiti amin a plantilia nga agus-usar iti daytoy a palntilia. Ti listaan ket mabalin a maiyasping iti adda a listaan tapno makita dagiti baro a palntilia ti pungol a napartuat iti daytoy a proseso. Dagiti kinaudi a naikabil ket isunto dagiti kinaudi a napartuat a banag.
Navbar
urnosenThis template contains...
{{navbar |{{{name}}} |mini=yes |style=position:absolute;right:15px;font-size:smaller;display:none;}}
...which allows the specification (with CSS) of the three stub-template links provided (see [1]). A side effect is that a non-existing talk page of the stub template may appear on Special:WantedPages.
Datos ti plantilia
urnosenTemplateData para iti Asbox
Standard template used for creating new or updating existing article stub box templates.
Parametro | Deskripsion | Kita | Kasasaad | |
---|---|---|---|---|
Stub category | category | The category into which this stub template puts pages. | Panid | nasken |
Subject | subject | The subject of the stub template's category. | Di ammo | maisingasing |
Qualifier | qualifier | The sub-subject of the stub template's category. | Di ammo | pagpilian |
Icon image | image | Image to use as an icon in the template. | Papeles | maisingasing |
Icon at text | imagealt | Alt text for the icon, especially for screen readers.
| Di ammo | maisingasing |
Icon size | pix | Size at which to display the icon. | Di ammo | pagpilian |
Icon | icon | Icon to show in the template. | Di ammo | maisingasing |
Page name | article | Different term instead of 'article' to use in the template. | Di ammo | pagpilian |
Note | note | A small note about the stub shown underneath the main text. | Di ammo | pagpilian |
Template name | name | The name of the template. | Di ammo | pagpilian |
Secondary stub category | category1 | A secondary category into which this stub template puts pages. | Panid | pagpilian |
Tertiary stub category | category# | A tertiary category into which this stub template puts pages. | Panid | pagpilian |
Stub category sort prefix | tempsort | If set to a value other than 'no', a prefix for sorting pages in the category. | Di ammo | pagpilian |
Tertiary stub category sort prefix | tempsort# | If set to a value other than 'no', a prefix for sorting pages in the tertiary category. | Di ammo | pagpilian |
Kitaen pay
urnosenAdda dagiti nadumaduma a meta-plantilia iti pamilia ti mbox :
- {{ambox}} – Para kadagiti kahon ti mensahe ti artikulo.
- {{cmbox}} – Para kadagiti kahon ti mensahe ti kategoria.
- {{imbox}} – Para kadagiti kahon ti mensahe ti papeles (ladawan).
- {{mbox}} – Adda iti panagduktal ti nagan ti espasio, para kadagiti kahon ti mensahe nga inus-usar kadagiti nadumaduma a kita ti panid ken isunga makasapul nga agbaliw ti estilo depende iti panid a nakausaranna.
- {{ombox}} – Para kadagiti kahon ti mensahe ti dadduma a pampanid.
- {{tmbox}} – Para kadagiti kahon ti mensahe ti tungtungan a panid.
Asideg a mainaig kadagiti meta-plantilia:
- {{asbox}} – Para kadagiti kahon ti mensahe ti pungol nga artikulo.
- {{dmbox}} – Para kadagiti kahon ti mensahe ti panangilawlawag ken naiyasentar a pagsurotan.
- {{fmbox}} – Para kadagiti kahon ti mensahe ti paulo ken baba.
- Dagiti baw-ing − no adda, dagiti sabali a nagan daytoy a plantilia a mabalin a mausar