Lompat ke isi

Citakan:Uses TemplateStyles/doc

Ti Wikipédia Sunda, énsiklopédi bébas

Citakan:Template shortcut

Pramidang:

Citakan ieu dipaké pikeun nunjukkeun yén citakan parantos dirobih janten dianggo TemplateStyles. Ieu ditempatkeun di luhureun kaca citakan /doc. Éta otomatis nambihan citakan kana Kategori:Galat skrip: tidak ada modul tersebut "Data"., atawa ka salah sahiji subkategorina.

The syntax for actually doing a TemplateStyles is, of course: <templatestyles src="" /> (with the page name in the quotation marks).

Pamakéan

[édit sumber]
Basic
{{Uses TemplateStyles|TemplateStyles page name}}
All parameters
{{Uses TemplateStyles|TemplateStyles page 1|TemplateStyles page 2|TemplateStyles page 3|...|category=custom category|nocat=true}}

The first TemplateStyles page name is required.

TemplateStyles sandboxes

[édit sumber]

Note that if a sandbox version of the TemplateStyle exists, it will also be linked. This is only for sandbox versions. The subpage name of the sandbox version should be the same, but as a subpage of the templates sandbox. For example, if the TemplateStyles page name is Template:Foo/styles.css, then the sandbox version should be Template:Foo/sandbox/styles.css

One style page

[édit sumber]

{{Uses TemplateStyles|Template:Arrowlist/styles.css}} {{Uses TemplateStylesCitakan:\sandbox|Template:Arrowlist/styles.css|nocat=true}}

Multiple style pages

[édit sumber]

{{Uses TemplateStyles|Template:Arrowlist/styles.css|Template:Routemap/styles.css}} {{Uses TemplateStylesCitakan:\sandbox|Template:Arrowlist/styles.css|Template:Routemap/styles.css|nocat=true}}

Sandbox version of style page exists

[édit sumber]

{{Uses TemplateStyles|Template:Uses TemplateStyles/example.css}} {{Uses TemplateStylesCitakan:\sandbox|Template:Uses TemplateStyles/example.css|nocat=true}}

No style pages specified

[édit sumber]

{{Uses TemplateStyles}} {{Uses TemplateStylesCitakan:\sandbox|nocat=true}}

Kategori

[édit sumber]

Template category

[édit sumber]

This template adds pages to Category:Galat skrip: tidak ada modul tersebut "Data". if the page is in the template namespace, and it is not on any of the subpages /doc, /sandbox, /sandbox2 or /testcases. You can specify a different category with the |category= parameter, e.g. |category=Uses list TemplateStyles.

Error category

[édit sumber]

If no modules are specified, the transcluded page will be added to Category:Galat skrip: tidak ada modul tersebut "Data"..

Protection level category

[édit sumber]

TemplateStyles should have the same protection level as the template they are used on. If a difference is detected, the transcluded page will be added to Category:Galat skrip: tidak ada modul tersebut "Data"..

Category suppression

[édit sumber]

To suppress all categories, use |nocat=true. (As well as "true", the values "yes", "y", and "1" will also work.)

TemplateData

[édit sumber]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Uses TemplateStyles in articles based on its TemplateData.

TemplateData for Uses TemplateStyles

Used to show that templates have been converted to use TemplateStyles.

Parameter templat

ParameterKeteranganJenisStatus
Stylesheet 11

Name of the main stylesheet used in the template or module. Use multiple parameters to specify multiple stylesheets.

Nama halamanwajib diisi
Stylesheet 22

Name of the second stylesheet.

Nama halamanopsional
Stylesheet 33

Name of the third stylesheet.

Nama halamanopsional
Stylesheet 44

Name of the fourth stylesheet.

Nama halamanopsional
Stylesheet 55

Name of the fifth stylesheet.

Nama halamanopsional
Stylesheet 66

Name of the sixth stylesheet.

Nama halamanopsional
Stylesheet 77

Name of the seventh stylesheet.

Nama halamanopsional
Stylesheet 88

Name of the eighth stylesheet.

Nama halamanopsional
Stylesheet 99

Name of the ninth stylesheet.

Nama halamanopsional
Stylesheet 1010

Name of the tenth stylesheet.

Nama halamanopsional
No Category?nocat

Whether to disable categorization.

Bawaan
0
Nilai otomatis
1
Booleanopsional
No Protection Category?noprotcat

Whether to disable checking that the stylesheet page(s) have same protection level as the template.

Bawaan
0
Nilai otomatis
1
Booleanopsional
Custom Categorycategory

Main category to put on pages using this template, without namespace prefix.

Bawaan
Templates using TemplateStyles
Kataopsional

Edit parameter translations

Tempo ogé

[édit sumber]