Plantilia:Asbox

Permanente a nasalakniban a plantilia
Manipud iti Wikipedia, ti nawaya nga ensiklopedia
Dokumentasion ti plantilia
Dagiti meta plantilia
ti kahon ti mensahe
plantiliakonteksto
{{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

{{Asbox
| image = 
| subject = 
| qualifier = 
| category = 
| name = 
}}

image

Nagan 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

Maikabil sakbay ti balikas ti "artikulo" iti plantilia (kas ti "biograpikal", nga agpataud ti "Daytoy a biograpikal nga artikulo ket (...)").

qualifier

Maikabil kalpasan ti balikas ti "artikulo" (kas ti "a maipanggep iti musikero", nga agpataud ti "(...) artikulo a maipanggep iti musikero ket (...)").

category

Nagan laeng ti kategoria a pakainayonan dagiti panid a pakausaran daytoy a plantilia (kas ti "Dagiti pungol ti pakasaritaan").

name

Napno 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

{{Asbox
| image = Ambox style.png
| pix = 
| subject = 
| article = 
| qualifier = 
| category = 
| tempsort = 
| category1 = 
| tempsort1 = 
| note = 
| name = {{subst:FULLPAGENAME}}
}}

Dagiti parametro

icon or image

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

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

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

Parametro 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

Panagusar ti image

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

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

Ti 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

This 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

Daytoy ti dokumentasion ti TemplateData para iti daytoy plantilia nga inus-usar babaen ti VisualEditor ken dagiti dadduma pay a ramit.

TemplateData para iti Asbox

Standard template used for creating new or updating existing article stub box templates.

Dagiti parametro ti plantilia[Agtaripato iti TemplateData]

ParametroDeskripsionKitaKasasaad
Stub categorycategory

The category into which this stub template puts pages.

Panidnasken
Subjectsubject

The subject of the stub template's category.

Di ammomaisingasing
Qualifierqualifier

The sub-subject of the stub template's category.

Di ammopagpilian
Icon imageimage

Image to use as an icon in the template.

Papelesmaisingasing
Icon at textimagealt

Alt text for the icon, especially for screen readers.

Kasisigud
Stub icon
Di ammomaisingasing
Icon sizepix

Size at which to display the icon.

Di ammopagpilian
Iconicon

Icon to show in the template.

Di ammomaisingasing
Page namearticle

Different term instead of 'article' to use in the template.

Di ammopagpilian
Notenote

A small note about the stub shown underneath the main text.

Di ammopagpilian
Template namename

The name of the template.

Di ammopagpilian
Secondary stub categorycategory1

A secondary category into which this stub template puts pages.

Panidpagpilian
Tertiary stub categorycategory#

A tertiary category into which this stub template puts pages.

Panidpagpilian
Stub category sort prefixtempsort

If set to a value other than 'no', a prefix for sorting pages in the category.

Di ammopagpilian
Tertiary stub category sort prefixtempsort#

If set to a value other than 'no', a prefix for sorting pages in the tertiary category.

Di ammopagpilian

Kitaen pay

Adda 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