Predloga:Stanje vzdrževanja portala

Iz Wikipedije, proste enciklopedije
Dokumentacija za predlogo[poglej] [uredi] [zgodovina] [osveži]

Usage[uredi kodo]

The {{portal maintenance status}} template should be placed at the top of the portal page, not within a table or another template, due to template limits.

All parameters:

{{Portal maintenance status |{{subst:DATE}} |maintainer1= |maintainer2= |maintainer3= |maintainer4= |manual= |upgrade= |notes= |update= |broken= |nonstandard= |incomplete= |subpages= 
}}

{{Portal maintenance status 
|{{subst:DATE}} 
|maintainer1= 
|maintainer2= 
|maintainer3= 
|maintainer4= 
|manual= 
|upgrade= 
|notes=
|update=
|broken= 
|nonstandard= 
|incomplete= 
|subpages= 
}}

Optional parameters[uredi kodo]

The following parameters should be populated, where possible:

  • |date= Date of last template update
  • |maintainer[1-4]=Example: Used to specify users who look after the portal in question.
  • |subpages= Subpage triage status
    Set to untriaged or yes (or leave unset) if the subpages have not yet been checked.
    Once a portal's subpages have been checked, set to:
    checked or triaged or keep (or any other value): if any unneeded subpages have been removed.
    none or single or singlepage or no: if the portal has a single page layout (no subpages exist).

This template can also hold miscellaneous notes:

  • |notes=Text goes here: to record notes in plain text or even wikitext markup.

Include the following parameters, if they are applicable; otherwise, omit the parameter (or set to no)

  • |manual=yes (or any other value): Portal is manually maintained. You should specify at least one maintainer using the |maintainer[1-4]= parameter.
  • |upgrade=yes (or any other value): Portal needs upgrading. Use the |notes= field to elaborate.
  • |update=yes (or any other value): Portal needs updating. Use the |notes= field to elaborate.
  • |broken= Portal has issues needing attention. Use the |notes= field to elaborate.
    Set to yes, major or serious: for portals that have errors or major problems, such as Lua timeouts, template parsing limits exceeded, or completely wrecked layout
    Set to minor, access or layout: for portals that have minor problems, such as accessibility issues or minor layout issues
  • |nonstandard=yes (or any other value): Portal has a nonstandard layout
  • |incomplete=yes (or any other value): Portal is under construction or incomplete

Aliases[uredi kodo]

  • The parameter |note= is recognised as an alias for |notes=. If both |notes= and |note= are present, there may be unexpected results.

How to update the maintenance information for a portal[uredi kodo]

To change the maintenance information for a portal:

  1. Edit the portal using source editor (edit source tab on the portal)
  2. In the first few lines of the edit box (not inside of a table or another template), there should be this template ({{Portal maintenance status}})
  3. Edit the parameters of this template to change the information as needed; what each parameter does is described above in #Usage.

Sledilne kategorije[uredi kodo]

V prostoru portalov ta predloga polni naslednje skrite kategorije (ali njihove podkategorije):

Prikaz[uredi kodo]

Ta predloga po privzetem v prostoru portalov ne prikaže ničesar.

  • Za prikaz skritih kategorij omogočite to nastavitev v svojih nastavitvah (zavihek »Videz«, obkljukajte pod »Napredne možnosti«).
  • Za prikaz sporočila, kot je na spodnjih zgledih, dodajte v svoj osebni CSS naslednjo kodo:
    div.portal-maintenance-status { display:block !important }
    
  • Sporočila si lahko ogledate tudi na pogovornih straneh portalov v pasici (kjer so samodejno prevključena).

Zgledi[uredi kodo]

{{Portal maintenance status|date=april 2024|maintainer1=Example}}

{{Portal maintenance status|date=april 2024|manual=yes}}

{{Portal maintenance status|date=april 2024|broken=yes}}

{{Portal maintenance status|date=april 2024|broken=minor}}

{{Portal maintenance status|date=april 2024|nonstandard=yes}}

{{Portal maintenance status|date=april 2024|incomplete=yes}}

{{Portal maintenance status|date=april 2024|subpages=checked}}

{{Portal maintenance status|date=april 2024|subpages=none}}

{{Portal maintenance status|date=april 2024|upgrade=yes}}

{{Portal maintenance status|date=april 2024|update=yes}}

{{Portal maintenance status|date=april 2024|notes=This is a test note.}}

{{Portal maintenance status|date=april 2024|manual=yes|maintainer1=Example|broken=yes|nonstandard=yes|incomplete=yes|subpages=checked|notes=(some lorem text, you get the idea)}}

TemplateData[uredi kodo]

TemplateData
To je dokumentacija TemplateData za predlogo, ki jo uporabljajo Vizualni urejevalnik in druga orodja; glejte mesečno poročilo o uporabi parametrov za to predlogo.

TemplateData za Stanje vzdrževanja portala

Hidden notice box used to record portal maintenance metadata

Parametri predloge[Urejanje podatkov predloge]

Za to predlogo se uporablja postavitev parametrov v eni vrstici.

ParameterOpisVrstaStanje
Manually maintainedmanual

Mark portals that are manually maintained

Privzeto
no
Zgled
manual=yes
Boolneobvezno
Brokenbroken

Mark portals with errors or layout issues needing attention

Privzeto
(empty)
Zgled
broken=yes, broken=minor
Nizneobvezno
Non-standardnonstandard

Mark portals with significantly unique layout or markup

Privzeto
no
Zgled
nonstandard=yes
Boolneobvezno
Subpagessubpages

Subpage triage status

Privzeto
untriaged
Zgled
subpages=single, subpages=triaged
Nizpredlagano
Incompleteincomplete

Mark portals that are incomplete or under construction

Privzeto
no
Zgled
incomplete=yes
Boolneobvezno
Datedate

Date of template placement

Zgled
date=April 2018, date={{subst:DATE}}
Datumpredlagano
Embedembed

Used to embed this template in the WikiProject Portals banner

Privzeto
no
Zgled
embed=yes
Boolneobvezno
Additional Notenote notes

Free-form notes field, can accept wikitext.

Privzeto
(empty)
Zgled
note=This is a test note.
Nizneobvezno
Portal Maintainermaintainer maintainer1

Name of primary portal maintainer. Marks the portal as manually maintained.

Privzeto
(empty)
Zgled
maintainer=Example
Uporabnikpredlagano
Portal Maintainer 2maintainer2

See 'maintainer'

Privzeto
(empty)
Uporabnikneobvezno
Portal Maintainer 3maintainer3

See 'maintainer'

Privzeto
(empty)
Uporabnikneobvezno
Portal Maintainer 4maintainer4

See 'maintainer'

Privzeto
(empty)
Uporabnikneobvezno
upgradeupgrade

brez opisa

Neznanoneobvezno
updateupdate

brez opisa

Neznanoneobvezno

See also[uredi kodo]