Toggle menu
Toggle preferences menu
Toggle personal menu
Ikke logget på
Your IP address will be publicly visible if you make any edits.

Skabelon:High-risk: Forskelle mellem versioner

Fra Kammeraterikrig.dk
kik>Steenth
m ændre url'er fra tools.wmflabs.org til toolforge.org
m 1 revision imported
 
(5 mellemliggende versioner af 3 andre brugere ikke vist)
Linje 1: Linje 1:
{{Hønsedesign
<noinclude>
|id        = sammenskriv
<languages/>
|billede    = Ambox warning orange.svg
</noinclude>{{#switch:<translate></translate>
|tekst      =  
| =
'''{{
{{ombox
#switch:{{NAMESPACE}}
| type = content
|Modul=Dette Lua-modul
| image = [[File:OOjs UI icon alert-warning.svg|40px|alt=]]
|#default=Denne skabelon
| imageright =
}} bliver brugt på <span class="plainlinks">[http://templatecount.toolforge.org/index.php?lang=da&namespace={{NAMESPACENUMBER:{{FULLPAGENAME}}}}&name={{urlencode:{{PAGENAME}}}} {{#if:{{{1|}}}|{{formatnum:{{{1}}}}}|et meget stort antal}} sider]</span>.'''<br />For at undgå store forstyrrelser og unødvendigt pres på serverne, bør alle ændringer af {{
| text = {{#switch:{{NAMESPACE}}
#switch:{{NAMESPACE}}
  |Module={{#if:{{{1|}}}
|Modul=modulet
    |'''<translate><!--T:3--> This Lua module is used on approximately <tvar name=5>{{formatnum:{{{1}}}}}</tvar> pages.</translate>'''
|#default=skabelonen
    |'''<translate><!--T:9--> This Lua module is used on many pages.</translate>'''
}} først afprøves i dens tilhørende [[{{
    }}<!--/#if-->
#switch: {{SUBPAGENAME}}
  |#default={{#if:{{{1|}}}
| doc | dok | sandbox | sandkasse = {{SUBJECTSPACE}}:{{BASEPAGENAME}}
    |'''<translate><!--T:10--> This template is used on approximately <tvar name=5>{{formatnum:{{{1}}}}}</tvar> pages.</translate>'''
| #default     = {{SUBJECTPAGENAME}}
    |'''<translate><!--T:11--> This template is used on many pages.</translate>'''
}}/sandkasse|/sandkasse]] eller [[{{
    }}<!--/#if-->
#switch: {{SUBPAGENAME}}
  }}<!--/#switch--><br />
| doc | dok | sandbox | sandkasse = {{SUBJECTSPACE}}:{{BASEPAGENAME}}
{{#switch:{{NAMESPACE}}
| #default     = {{SUBJECTPAGENAME}}
  |Module=<translate><!--T:2--> To avoid large-scale disruption and unnecessary server load, any changes to this module should first be tested in its [[<tvar name=4>{{#switch:{{SUBPAGENAME}}|doc|sandbox={{SUBJECTSPACE}}:{{BASEPAGENAME}}|#default={{SUBJECTPAGENAME}}}}/sandbox</tvar>|/sandbox]] or [[<tvar name=5>{{#switch:{{SUBPAGENAME}}|doc|sandbox={{SUBJECTSPACE}}:{{BASEPAGENAME}}|#default={{SUBJECTPAGENAME}}}}/testcases</tvar>|/testcases]] subpages.</translate>
}}/testcases|/test]]-undersider{{
  |#default=<translate><!--T:12--> To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its [[<tvar name=4>{{#switch:{{SUBPAGENAME}}|doc|sandbox={{SUBJECTSPACE}}:{{BASEPAGENAME}}|#default={{SUBJECTPAGENAME}}}}/sandbox</tvar>|/sandbox]] or [[<tvar name=5>{{#switch:{{SUBPAGENAME}}|doc|sandbox={{SUBJECTSPACE}}:{{BASEPAGENAME}}|#default={{SUBJECTPAGENAME}}}}/testcases</tvar>|/testcases]] subpages or in your own [[<tvar name=9>Special:MyLanguage/Help:Subpages#Use of subpages</tvar>|user subpage]].</translate>
#switch:{{NAMESPACE}}
}}<!--/#switch-->
|Modul=.
<translate><!--T:1--> The tested changes can then be added to this page in one single edit.</translate>
|#default=, eller i din egen [[Speciel:Min_brugerside/sandkasse|sandkasse]].
{{#if:{{{2|}}}
}} De færdigafprøvede ændringer kan derefter overføres til denne side ved en enkelt redigering. Overvej venligst at diskutere alle ændringer på {{#if:{{{2|}}}|[[{{{2}}}]]| [[{{
  |<translate><!--T:4--> Please consider discussing any changes at <tvar name=2>[[{{trim|{{{2}}}}}]]</tvar> before implementing them.</translate>
#switch: {{SUBPAGENAME}}
  |<translate><!--T:13--> Please consider discussing any changes on the [[<tvar name=3>{{#switch:{{SUBPAGENAME}}|doc|sandbox={{TALKSPACE}}:{{BASEPAGENAME}}|#default={{TALKPAGENAME}}}}</tvar>|talk page]] before implementing them.</translate>
| doc | dok | sandbox | sandkasse = {{TALKSPACE}}:{{BASEPAGENAME}}
  }}<!--/#if-->
| #default     = {{TALKPAGENAME}}
}}<!--/ombox-->
}}|diskussionssiden]]}} før du implementerer dem.
| #default=
  {{#invoke:Template translation|renderTranslatedTemplate|template=Template:High-risk|noshift=1|uselang={{int:lang}}}}
}}<noinclude>
}}<noinclude>
{{skabelon dokumentation}}
{{Documentation|content=
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
This is the {{tl|high-risk}} message box. It is meant to be put at the top of the documentation page on the most high-use (high-risk) templates and Lua modules (the template detects the name space), i.e., for templates used on a large number of pages
 
'''''Note:''''' It is normal that some of the links in the message box are red.
<translate>
=== Usage === <!--T:5-->
</translate>
The template can be used as is. But it can also take some parameters:
 
* First parameter is the number of pages.
* Second parameter is the name of some other talk page if you want discussion to be made there instead. But a better option might be to redirect the talkpage of your template to that other talkpage.
 
<translate>
===Examples=== <!--T:6-->
</translate>
<pre>
{{high-risk| 30,000+ | Project:Village Pump}}
</pre>
 
{{high-risk| 30,000+ | Project:Village Pump}}
 
<pre>
{{high-risk| 30,000+ }}
</pre>
 
{{high-risk| 30,000+ }}
 
<pre>
{{high-risk| | Project:Village Pump}}
</pre>
 
{{high-risk| | Project:Village Pump}}
 
The full code for a /doc page top may look like this:
 
<pre>
{{documentation subpage}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). -->
{{high-risk| 30,000+ }}
</pre>
 
<translate>
=== Technical details === <!--T:7-->
</translate>
The [[{{translatable}}/sandbox|/sandbox]] and [[{{translatable}}/testcases|/testcases]] links are the standard names for such subpages. If those pages are created then the green /doc box for the template will detect them and link to them in its heading. For instance see the top of this documentation.
 
<translate>
=== See also === <!--T:8-->
</translate>
* {{tl|intricate template}} – For the intricate, i.e., complex templates.
* {{tl|pp-template}} – The protection template that usually is put on high-risk templates.
* {{tl|used in system}} – For templates used in the user interface.
 
}}
</noinclude>
</noinclude>

Nuværende version fra 27. jun. 2023, 20:38

<languages/>

Your wiki got a version of Template:Documentation that is only relevant to Templates Wiki! Click here to revert it. For a documentation template you can use on your wiki, see Template:Documentation (copy) on Templates Wiki.
Template information, documentation, and installation instructions.
Expand the below text for usage and other information.

Template Documentation:
Note: The template above might be broken without the parameters; this is normal.
Edit this template for the documentation (How does this work?)
Editors can experiment with this template's sandbox and testcases.

This is the {{high-risk}} message box. It is meant to be put at the top of the documentation page on the most high-use (high-risk) templates and Lua modules (the template detects the name space), i.e., for templates used on a large number of pages

Note: It is normal that some of the links in the message box are red. <translate>

Usage

</translate> The template can be used as is. But it can also take some parameters:

  • First parameter is the number of pages.
  • Second parameter is the name of some other talk page if you want discussion to be made there instead. But a better option might be to redirect the talkpage of your template to that other talkpage.

<translate>

Examples

</translate>

{{high-risk| 30,000+ | Project:Village Pump}}
{{high-risk| 30,000+ }}
{{high-risk| | Project:Village Pump}}

The full code for a /doc page top may look like this:

{{documentation subpage}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). -->
{{high-risk| 30,000+ }}

<translate>

Technical details

</translate> The /sandbox and /testcases links are the standard names for such subpages. If those pages are created then the green /doc box for the template will detect them and link to them in its heading. For instance see the top of this documentation.

<translate>

See also

</translate>

  • {{intricate template}} – For the intricate, i.e., complex templates.
  • {{pp-template}} – The protection template that usually is put on high-risk templates.
  • {{used in system}} – For templates used in the user interface.

Installation Instructions
Export this template, then import to install it.
Use edit summary: Copied from [[w:c:templates:Skabelon:High-risk]] to properly attribute this template's editors.
There is no additional installation instructions for this template. If there is any, you may create it at Skabelon:High-risk/install.