Skabelon:Asbox/testcases
| Dette er side med testcases for sandkasse til Skabelon:Asbox. for at opdatere eksemplet. Hvis der er mange eksempler med en kompliceret skabelon, kan de sidste give fejl på grund af begrænsninger i MediaWiki, se HTML-kommentaren "NewPP limit report" på den dannede side. Du kan også bruge Special:ExpandTemplates til at kigge på resultatet af brug af skabelonen. Du kan teste, hvordan denne side ser ud i forskellige temaer med disse links: |
{{Asbox
| demo = yes
| image = Østfold våpen.svg
| pix = 30
| subject = [[Østfold]] location
| qualifier =
| category = Østfold geography stubs
}}
{{Asbox}}
| This Østfold location article is a stub. You can help Wikipedia by expanding it. |
{{Asbox/sandkasse}}
|
{{Asbox
| demo = yes
| icon = [[Image:Østfold våpen.svg|30px|border]]
| subject = [[Østfold]] location
| qualifier =
| category = Østfold geography stubs
}}
{{Asbox}}
| This Østfold location article is a stub. You can help Wikipedia by expanding it. |
{{Asbox/sandkasse}}
|
{{Asbox
| demo = yes
| icon =
| subject = [[Østfold]] location
| qualifier =
| category = Østfold geography stubs
}}
{{Asbox}}
| This Østfold location article is a stub. You can help Wikipedia by expanding it. |
{{Asbox/sandkasse}}
|
{{Asbox
| demo = yes
| image =
| pix = 30
| subject = [[Østfold]] location
| qualifier =
| category = Østfold geography stubs
}}
{{Asbox}}
| This Østfold location article is a stub. You can help Wikipedia by expanding it. |
{{Asbox/sandkasse}}
|
Hidden unicode char
|category= contains hidden unicode chars, DEL and LRM (if you use Chrome, notice how the spellchecker underlines part of the word as misspelled instead of the whole word when in the editor). However, note that this is still a valid category (link for Category:Østfold geography stubs is blue, not red), so it should not be sorted under 'S' in Category:Stub message templates needing attention (though it should still be sorted under 'N' for having other non-existing cats) and that the invalid char will still be outputted to the article (and would break the pseudo-categories, but should not affect actual categories)
{{Asbox
| demo = yes
| image = Østfold våpen.svg
| pix = 30
| subject = [[Østfold]] location
| qualifier =
| category99= Typography stubs
| category = Østfold geography stubs
| category1 = Demo stubs
| category2 = Template stubs
| note = notes go here
}}
{{Asbox}}
| This Østfold location article is a stub. You can help Wikipedia by expanding it. notes go here |
{{Asbox/sandkasse}}
|
Missing image
If making a major revision to the template, you may remove pre tags from below to see compare how the current and sandbox versions handle missing images. Remember to pre tag again in order to avoid cluttering Category:Templates with missing files.
{{test case nowiki|collapsible=yes|title=Missing image file|code={{__TEMPLATENAME__
| demo = yes
| icon = [[Image:Ostfold vapen missing.png|30px|border]]
| subject = [[Østfold]] location
| qualifier =
| category = Østfold geography stubs
}}}}
Missing params
{{Asbox
| demo = yes
| icon =
| subject =
| qualifier =
| category =
}}
{{Asbox}}
| This article is a stub. You can help Wikipedia by expanding it. |
{{Asbox/sandkasse}}
|
Automatic Documention
if |demo = doc
{{Asbox
| demo = doc
| icon = [[Image:Østfold våpen.svg|30px|border]]
| subject = [[Østfold]] location
| qualifier = in the street of Demo
| category = Østfold geography stubs
| note = Notes go here
}}
{{Asbox}}
| This Østfold location article in the street of Demo is a stub. You can help Wikipedia by expanding it. Notes go here |
The following parameter defines a stub category that does not exist: |category |
- Asbox/testcases
- Stub
About this template
This template is used to identify a Østfold location stub in the street of Demo. It uses {{asbox}}, which is a meta-template designed to ease the process of creating and maintaining stub templates.
Usage
Typing {{Asbox/testcases}} produces the message shown at the beginning, and adds the article to the following category:
- Category:Østfold geography stubs (population: 0)
General information
Om denne skabelon
Dette er Skabelon:Asbox/testcases. Den bruger {{standardstub}}, som er en meta-skabelon beregnet til at oprette og vedligeholde en stub-skabelon.
Brug
Brugen af {{Asbox/testcases}} danner beskeden, som vises i starten og den tilføjer artiklen til følgende kategori:
- [[:Kategori:]] (0)
TemplateData
Asbox/testcases
Standard skabelon for brug for sortering af artikler til indtil spire.
| Parameter | Beskrivelse | Type | Status | |||
|---|---|---|---|---|---|---|
| Ingen parametre angivet | ||||||
Generel information
Dette er en stub-skabelon. En kort forklaring af disse skabeloner følger; for alle detaljer se Wikipedia:Stubprojekt.
Hvad er en en stub?
En stub er en artikel som indeholder kun få sætninger af tekst, hvilken er for kort til være en encyklopædisk dækning af et emne.
Når en stub er fundet?
- Hvis det er muligt, så find den mest rammene stub-skabelon for den artikel. En fuld liste kan findes på Wikipedia:Stubprojekt#Nuværende stubskabeloner.
- Mere end en stub-skabelon kan være nødvendig at bruge, men ikke for mange stub-skabeloner skal bruges på en artikel.
- Placere en skub-skabelon i slutning af en artikel, efter "Eksterne henvisninger" afsnit, efter navigationsskabeloner, og kategorimærker. Normalt bruges skabelonen ved at tilføje navnet imellem dobbelt køllet parenteser, som
{{stub}}.
Mere information
Mere information kan findes på:
New stub templates and categories (collectively "stub types") should not be created without prior proposal at Wikipedia:WikiProject Stub sorting/Proposals. This allows for the proper coordination of all stub types across Wikipedia, and for the checking of any new stub type for possible problems prior to its creation.
Se også
- Skabelon:Tomt afsnit – Til at markere et tom afsnit som et stub section
- Skabelon:Afsnit bør udvides – Til at markere et afsnit selektivt som ufuldstændige
- Skabelon:Data mangler – Til at markere, at et afsnit mangler oplysninger eller anden data
- Wikipedia:Projekter/Kvalitetsvurdering
{{Asbox/sandkasse}}
Stub hierarchy
About this templateThis template is used to identify a Østfold location stub in the street of Demo. It uses {{asbox}}, which is a meta-template designed to ease the process of creating and maintaining stub templates. UsageTyping
General informationOm denne skabelonDette er Skabelon:Asbox/testcases. Den bruger {{standardstub}}, som er en meta-skabelon beregnet til at oprette og vedligeholde en stub-skabelon. BrugBrugen af {{Asbox/testcases}} danner beskeden, som vises i starten og den tilføjer artiklen til følgende kategori:
TemplateDataDette er denne skabelons TemplateData-dokumentation, som bruges af VisualEditor og andre værktøjer.
Asbox/testcases Standard skabelon for brug for sortering af artikler til indtil spire.
Generel informationDette er en stub-skabelon. En kort forklaring af disse skabeloner følger; for alle detaljer se Wikipedia:Stubprojekt. Hvad er en en stub?En stub er en artikel som indeholder kun få sætninger af tekst, hvilken er for kort til være en encyklopædisk dækning af et emne. Når en stub er fundet?
Mere informationMere information kan findes på: New stub templates and categories (collectively "stub types") should not be created without prior proposal at Wikipedia:WikiProject Stub sorting/Proposals. This allows for the proper coordination of all stub types across Wikipedia, and for the checking of any new stub type for possible problems prior to its creation. Se også
| |||||||||||||||||
Ombox messages and error sorting
{{Asbox
| demo = doc
| category1 = Bad stub category name
| category4 = Fake stub
| imagealt = dummy
| name = note: this param only checked if not demo and not article
}}
{{Asbox}}
| This article is a stub. You can help Wikipedia by expanding it. |
The |category parameter is not set. Please add an appropriate stub category. |
This stub template contains no description! At least one of the parameters |subject, |article or |qualifier must be defined. |
The following parameters define stub categories that do not exist: |category1 og |category4 |
- Asbox/testcases
- Stub
About this template
This template is used to identify a stub. It uses {{asbox}}, which is a meta-template designed to ease the process of creating and maintaining stub templates.
Usage
Typing {{Asbox/testcases}} produces the message shown at the beginning, and adds the article to the following categories:
- [[:Category:{{{category}}}]] (population: 0)
- Category:Bad stub category name (population: 0)
- Category:Fake stub (population: 0)
General information
Om denne skabelon
Dette er Skabelon:Asbox/testcases. Den bruger {{standardstub}}, som er en meta-skabelon beregnet til at oprette og vedligeholde en stub-skabelon.
Brug
Brugen af {{Asbox/testcases}} danner beskeden, som vises i starten og den tilføjer artiklen til følgende kategori:
- [[:Kategori:]] (0)
TemplateData
Asbox/testcases
Standard skabelon for brug for sortering af artikler til indtil spire.
| Parameter | Beskrivelse | Type | Status | |||
|---|---|---|---|---|---|---|
| Ingen parametre angivet | ||||||
Generel information
Dette er en stub-skabelon. En kort forklaring af disse skabeloner følger; for alle detaljer se Wikipedia:Stubprojekt.
Hvad er en en stub?
En stub er en artikel som indeholder kun få sætninger af tekst, hvilken er for kort til være en encyklopædisk dækning af et emne.
Når en stub er fundet?
- Hvis det er muligt, så find den mest rammene stub-skabelon for den artikel. En fuld liste kan findes på Wikipedia:Stubprojekt#Nuværende stubskabeloner.
- Mere end en stub-skabelon kan være nødvendig at bruge, men ikke for mange stub-skabeloner skal bruges på en artikel.
- Placere en skub-skabelon i slutning af en artikel, efter "Eksterne henvisninger" afsnit, efter navigationsskabeloner, og kategorimærker. Normalt bruges skabelonen ved at tilføje navnet imellem dobbelt køllet parenteser, som
{{stub}}.
Mere information
Mere information kan findes på:
New stub templates and categories (collectively "stub types") should not be created without prior proposal at Wikipedia:WikiProject Stub sorting/Proposals. This allows for the proper coordination of all stub types across Wikipedia, and for the checking of any new stub type for possible problems prior to its creation.
Se også
- Skabelon:Tomt afsnit – Til at markere et tom afsnit som et stub section
- Skabelon:Afsnit bør udvides – Til at markere et afsnit selektivt som ufuldstændige
- Skabelon:Data mangler – Til at markere, at et afsnit mangler oplysninger eller anden data
- Wikipedia:Projekter/Kvalitetsvurdering
{{Asbox/sandkasse}}
Stub hierarchy
About this templateThis template is used to identify a stub. It uses {{asbox}}, which is a meta-template designed to ease the process of creating and maintaining stub templates. UsageTyping
General informationOm denne skabelonDette er Skabelon:Asbox/testcases. Den bruger {{standardstub}}, som er en meta-skabelon beregnet til at oprette og vedligeholde en stub-skabelon. BrugBrugen af {{Asbox/testcases}} danner beskeden, som vises i starten og den tilføjer artiklen til følgende kategori:
TemplateDataDette er denne skabelons TemplateData-dokumentation, som bruges af VisualEditor og andre værktøjer.
Asbox/testcases Standard skabelon for brug for sortering af artikler til indtil spire.
Generel informationDette er en stub-skabelon. En kort forklaring af disse skabeloner følger; for alle detaljer se Wikipedia:Stubprojekt. Hvad er en en stub?En stub er en artikel som indeholder kun få sætninger af tekst, hvilken er for kort til være en encyklopædisk dækning af et emne. Når en stub er fundet?
Mere informationMere information kan findes på: New stub templates and categories (collectively "stub types") should not be created without prior proposal at Wikipedia:WikiProject Stub sorting/Proposals. This allows for the proper coordination of all stub types across Wikipedia, and for the checking of any new stub type for possible problems prior to its creation. Se også
| ||||||||||||||||||||
Demo article space categories only
Same as above, but this time emulating article space (note lack of error/hidden categories and ombox; also demo cats link will not show in actual article space)
{{Asbox
| demo = art
| category1 = Bad stub category name
| category4 = Fake stub
| imagealt = dummy
| name = note: this param only checked if not demo and not article
}}
{{Asbox}}
| This article is a stub. You can help Wikipedia by expanding it. |
{{Asbox/sandkasse}}
|
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.









