Diferencia entre revisiones de «Plantilla:!/doc»

De La Base Comunitaria de Conocimientos de la Economía Basada en Recursos
Saltar a: navegación, buscar
(See also: restore </includeonly> removed in error)
m (1 revisión)
 
(No se muestra una edición intermedia realizada por un usuario)
Línea 1: Línea 1:
{{Documentation subpage}}
+
{{Subpágina de documentación}}
<!-- DO NOT move the "pp-template" to the template page since the ! template should be as short as possible to save server load (to not break template inclusion limits). -->
+
=== Uso ===
{{high-risk|2,500,000+}}
+
Esta plantilla auxiliar permite poner «<code>|</code>» dentro de los parámetros de plantillas. Es necesaria si el carácter se usa en la sintaxis wiki de una [[Ayuda:Tablas|tabla]], o si el parámetro está automáticamente enlazado y desea usar una [[Pleca|barra vertical]] para especificar un texto de enlace diferente del nombre de la página a la que se enlaza. En otros casos es mejor usar «<code>&amp;#124;</code>».
__NOTOC__
+
  
== Usage ==
+
Esta plantilla no debe usarse para poner el carácter como texto en una tabla wiki ni en una firma de usuario personalizada; en esos casos puede usarse «<code>&amp;#124;</code>».
  
This is the {{t<noinclude>n</noinclude><includeonly>l</includeonly>|!}} meta-template. Its use is analogous to an [[escape character]].
+
=== Plantillas relacionadas ===
 +
* {{ep|!!}}
 +
* {{ep|!-}}
 +
<includeonly>
 +
[[Categoría:Wikipedia:Plantillas para evitar la evaluación por MediaWiki]]
  
This is an auxiliary template allowing the encoding of "<code>|</code>" within template parameters, because the pipe character is normally interpreted as a separator. This template is necessary if the character is used in wiki table syntax, or if the parameter is automatically wikilinked and you wish to use a pipe to specify different link text from the target page name. In other cases it is better to use "<code>&amp;#124;</code>".
+
[[ab:Ашаблон:!]]
 
+
[[ace:Pola:!]]
This template cannot be used for putting the character as text in a wiki table; in that case, again,  "<code>&amp;#124;</code>" can be used.
+
[[af:Sjabloon:!]]
 
+
[[ak:Şablon:!]]
Note that no special template is needed for "<code>!</code>" (exclamation mark).
+
[[als:Vorlage:!]]
 
+
[[am:መለጠፊያ:!]]
This is a [[WP:high-risk template|high-risk template]], and it usually cannot be [[Wikipedia:Substitution|substituted]] (see conditions for substing on [[#Substitution|the section below]]).
+
[[an:Plantilla:!]]
 
+
[[ang:Bysen:!]]
=== Substitution ===
+
[[ar:قالب:!]]
It is possible to [[Wikipedia:Substitution|substitute]] <nowiki>{{!}}</nowiki> only if an unescaped "'''<code>|</code>'''" works as expected, i.e. after substituting the template containing <nowiki>{{!}}</nowiki>, or after eliminating an
+
[[arc:ܩܠܒܐ:!]]
[[mw:Help:Extension:ParserFunctions#.23if|#if]] containing <nowiki>{{!}}</nowiki>.
+
[[arz:قالب:!]]
 
+
[[as:সাঁচ:!]]
=== A simple example ===
+
[[ast:Plantía:!]]
 
+
[[av:Шаблон:!]]
The following template code for {{tl|Quotation}} using an ordinary pipe character,
+
[[ay:Plantilla:!]]
* <code><nowiki>{{Quotation|It is not possible to use an ordinary pipe character | in template parameters, as it will be interpreted as a separator.|[[Help:Template#Usage hints and workarounds]]}}</nowiki></code>
+
[[az:Şablon:!]]
 
+
[[ba:Ҡалып:!]]
produces:
+
[[bar:Vorlog:!]]
{{Quotation|It is not possible to use an ordinary pipe character | in template parameters, as it will be interpreted as a separator.|[[Help:Template#Usage hints and workarounds]]}}
+
[[bat-smg:Šabluons:!]]
 
+
[[bcl:Plantilya:!]]
whereas this code using the <nowiki>{{!}}</nowiki> meta-template,
+
[[be:Шаблон:!]]
* <code><nowiki>{{Quotation|It is not possible to use an ordinary pipe character {{!}} in template parameters, as it will be interpreted as a separator.|[[Help:Template#Usage hints and workarounds]]}}</nowiki></code>
+
[[be-x-old:Шаблён:!]]
 
+
[[bg:Шаблон:!]]
produces:
+
[[bh:टेम्पलेट:!]]
{{Quotation|It is not possible to use an ordinary pipe character {{!}} in template parameters, as it will be interpreted as a separator.|[[Help:Template#Usage hints and workarounds]]}}
+
[[bi:Template:!]]
 
+
[[bjn:Citakan:!]]
== See also ==
+
[[bm:Modèle:!]]
* {{tl|!!}} creates ||
+
[[bn:টেমপ্লেট:!]]
* {{tl|!-}} creates |-
+
[[bo:Template:!]]
* {{tl|-!}} creates &amp;nbsp;|
+
[[bpy:মডেল:!]]
* {{tn|'}} and related
+
[[br:Patrom:!]]
* [[Wikipedia:Conditional tables]]
+
[[bs:Šablon:!]]
* {{tl|pipe}} - Note that this one looks like {{tlf|!}} but has a very different meaning for the MediaWiki parser and thus has different functionality.
+
[[bug:Templat:!]]
* {{tn|(}} creates {
+
[[bxr:Template:!]]
* {{tn|((}} creates {{
+
[[ca:Plantilla:!]]
* {{tn|)}} creates }
+
[[cbk-zam:Plantilla:!]]
* {{tn|))}} creates }}
+
[[ce:Куцкеп:!]]
* {{tl|!(}} creates [
+
[[ceb:Plantilya:!]]
* {{tl|)!}} creates ]  
+
[[ch:Template:!]]
* {{tl|(!}} creates {|
+
[[chr:Template:!]]
* {{tl|!)}} creates |} 
+
[[chy:Template:!]]
* {{tl|1==}} creates =
+
[[ckb:داڕێژە:!]]
* {{tl|Bar box}} — since {{tl|Bar}} redirects here
+
[[co:Template:!]]
 
+
[[cr:Template:!]]
<includeonly>
+
[[crh:Şablon:!]]
[[Category:Template namespace templates]]
+
[[cs:Šablona:!]]
[[Category:Wikipedia formatting and function templates]]
+
[[csb:Szablóna:!]]
 +
[[cu:Обраꙁьць:!]]
 +
[[cv:Шаблон:!]]
 +
[[cy:Nodyn:!]]
 +
[[da:Skabelon:!]]
 +
[[de:Vorlage:!]]
 +
[[diq:Şablon:!]]
 +
[[dsb:Pśedłoga:!]]
 +
[[eo:Ŝablono:!]]
 +
[[et:Mall:!]]
 +
[[dv:ފަންވަތް:!]]
 +
[[ee:Template:!]]
 +
[[el:Πρότυπο:!]]
 +
[[eml:Template:!]]
 +
[[en:Template:!]]
 +
[[eu:Txantiloi:!]]
 +
[[ext:Prantilla:!]]
 +
[[fa:الگو:!]]
 +
[[fiu-vro:Näüdüs:!]]
 +
[[fj:Template:!]]
 +
[[fo:Fyrimynd:!]]
 +
[[fr:Modèle:!]]
 +
[[hi:साँचा:!]]
 +
[[hif:Template:!]]
 +
[[hr:Predložak:!]]
 +
[[hsb:Předłoha:!]]
 +
[[ht:Modèl:!]]
 +
[[hu:Sablon:!]]
 +
[[hy:Կաղապար:!]]
 +
[[ia:Patrono:!]]
 +
[[id:Templat:!]]
 +
[[ie:Avise:!]]
 +
[[ig:Àtụ:!]]
 +
[[ilo:Plantilia:!]]
 +
[[io:Shablono:!]]
 +
[[is:Snið:!]]
 +
[[it:Template:!]]
 +
[[iu:Template:!]]
 +
[[ja:Template:!]]
 +
[[jbo:Template:!]]
 +
[[jv:Cithakan:!]]
 +
[[ka:თარგი:!]]
 +
[[ki:Template:!]]
 +
[[kk:Үлгі:!]]
 +
[[kaa:Shablon:!]]
 +
[[kab:Talɣa:!]]
 +
[[kbd:Шаблон:!]]
 +
[[kg:Template:!-]]
 +
[[kl:Ilisserut:!]]
 +
[[km:ទំព័រគំរូ:!]]
 +
[[kn:ಟೆಂಪ್ಲೇಟು:!]]
 +
[[ko:틀:!]]
 +
[[koi:Шаблон:!]]
 +
[[krc:Шаблон:!]]
 +
[[ks:فرما:!]]
 +
[[ksh:Schablon:!]]
 +
[[ku:Şablon:!]]
 +
[[kv:Шаблон:!]]
 +
[[kw:Skantlyn:!]]
 +
[[ky:Калып:Өлкө 7]]
 +
[[la:Formula:!]]
 +
[[lad:Xablón:!]]
 +
[[lb:Schabloun:!]]
 +
[[lbe:Шаблон:!]]
 +
[[lez:Шаблон:!]]
 +
[[li:Sjabloon:!]]
 +
[[lij:Template:!]]
 +
[[lmo:Mudel:!]]
 +
[[ln:Modèle:!]]
 +
[[lo:ແມ່ແບບ:!]]
 +
[[lt:Šablonas:!]]
 +
[[ltg:Taiss:!]]
 +
[[lv:Veidne:!]]
 +
[[map-bms:Cithakan:!]]
 +
[[mdf:Шаблон:!]]
 +
[[mg:Endrika:!]]
 +
[[mhr:Кышкар:!]]
 +
[[mi:Template:!]]
 +
[[min:Templat:!]]
 +
[[mk:Шаблон:!]]
 +
[[ml:ഫലകം:!]]
 +
[[mn:Загвар:!]]
 +
[[mr:साचा:!]]
 +
[[mrj:Шаблон:!]]
 +
[[ms:Templat:!]]
 +
[[mt:Mudell:!]]
 +
[[mwl:Modelo:!]]
 +
[[my:Template:!]]
 +
[[myv:ЛопаПарцун:!]]
 +
[[mzn:شابلون:!]]
 +
[[na:Template:!]]
 +
[[nah:Nemachiyōtīlli:!]]
 +
[[nap:Modello:!]]
 +
[[nds:Vörlaag:!]]
 +
[[nds-nl:Mal:!]]
 +
[[ne:ढाँचा:!]]
 +
[[new:Template:!]]
 +
[[nl:Sjabloon:!]]
 +
[[nn:Mal:!]]
 +
[[no:Mal:!]]
 +
[[nov:Template:!]]
 +
[[nrm:Template:!]]
 +
[[nso:Template:!]]
 +
[[nv:Bee álnééhí:!]]
 +
[[oc:Modèl:!]]
 +
[[om:Template:!]]
 +
[[or:ଛାଞ୍ଚ:!]]
 +
[[os:Хуызæг:!]]
 +
[[pa:ਫਰਮਾ:!]]
 +
[[pag:Template:!]]
 +
[[pam:Template:!]]
 +
[[pap:Template:!]]
 +
[[pcd:Modèle:!]]
 +
[[pdc:Moddel:!]]
 +
[[pfl:Vorlach:!]]
 +
[[pi:पटिरूप:!]]
 +
[[pih:Template:!]]
 +
[[pl:Szablon:!]]
 +
[[pms:Stamp:!]]
 +
[[pnb:Template:!]]
 +
[[pnt:Πρότυπον:!]]
 +
[[ps:کينډۍ:!]]
 +
[[pt:Predefinição:!]]
 +
[[qu:Plantilla:!]]
 +
[[rm:Model:!]]
 +
[[rmy:Sikavno:!]]
 +
[[ro:Format:!]]
 +
[[roa-rup:Template:!]]
 +
[[roa-tara:Template:!]]
 +
[[ru:Шаблон:!]]
 +
[[sk:Šablóna:!]]
 +
[[sl:Template:!]]
 +
[[sn:Template:!]]
 +
[[so:Template:!]]
 +
[[sq:Stampa:!]]
 +
[[sr:Шаблон:!]]
 +
[[ur:سانچہ:!]]
 +
[[uz:Andoza:!]]
 +
[[ve:Template:!]]
 +
[[vec:Modèl:!]]
 +
[[vep:Šablon:!]]
 +
[[vi:Bản mẫu:!]]
 +
[[vls:Patrôon:!]]
 +
[[vo:Samafomot:!]]
 +
[[wa:Modele:!]]
 +
[[war:Batakan:!]]
 +
[[wo:Royuwaay:!]]
 +
[[wuu:模板:!]]
 +
[[xal:Кевләр:!]]
 +
[[xmf:თარგი:!]]
 +
[[yi:מוסטער:!]]
 +
[[yo:Àdàkọ:!]]
 +
[[za:模板:!]]
 +
[[zea:Sjabloon:!]]
 +
[[zh:Template:!]]
 +
[[zh-classical:Template:!]]
 +
[[zh-min-nan:Template:!]]
 +
[[zh-yue:Template:!]]
 +
[[zu:Template:!]]
 +
[[frp:Modèlo:!]]
 +
[[frr:Vorlage:!]]
 +
[[fur:Model:!]]
 +
[[fy:Berjocht:!]]
 +
[[ga:Teimpléad:!]]
 +
[[gag:Şablon:!]]
 +
[[gan:模板:!]]
 +
[[gd:Teamplaid:!]]
 +
[[got:𐍆𐌰𐌿𐍂𐌰𐌼𐌴𐌻𐌴𐌹𐌽𐍃:!]]
 +
[[gu:ઢાંચો:!]]
 +
[[gv:Clowan:!]]
 +
[[ha:Template:!]]
 +
[[hak:Template:!]]
 +
[[haw:Anakuhi:!]]
 +
[[he:תבנית:!]]
 +
[[sw:Kigezo:!]]
 +
[[szl:Muster:!]]
 +
[[ta:வார்ப்புரு:!]]
 +
[[te:మూస:!]]
 +
[[tet:Template:!]]
 +
[[tg:Шаблон:!]]
 +
[[th:แม่แบบ:!]]
 +
[[tk:Şablon:!]]
 +
[[tl:Padron:!]]
 +
[[tn:Template:!]]
 +
[[to:Template:!]]
 +
[[tpi:Templet:!]]
 +
[[tr:Şablon:!]]
 +
[[ts:Template:!]]
 +
[[tt:Калып:!]]
 +
[[tum:Template:!]]
 +
[[tw:Template:!]]
 +
[[ty:Modèle:!]]
 +
[[udm:Шаблон:!]]
 +
[[ug:قېلىپ:!]]
 +
[[uk:Шаблон:!]]
 +
[[ff:Modèle:!]]
 +
[[fi:Malline:!]]
 +
[[srn:Ankra:!]]
 +
[[ss:Template:!]]
 +
[[stq:Foarloage:!]]
 +
[[su:Citakan:!]]
 +
[[sv:Mall:!]]
 +
[[rue:Шаблона:!]]
 +
[[rw:Template:!]]
 +
[[sa:फलकम्:!]]
 +
[[sah:Халыып:!]]
 +
[[sc:Template:!]]
 +
[[scn:Template:!]]
 +
[[sco:Template:!]]
 +
[[sd:سانچو:!]]
 +
[[se:Málle:!]]
 +
[[sg:Modèle:!]]
 +
[[sh:Šablon:!]]
 +
[[si:සැකිල්ල:!]]
 +
[[simple:Template:!]]
 
</includeonly>
 
</includeonly>

Última revisión de 03:51 30 mar 2013

[editar] Uso

Esta plantilla auxiliar permite poner «|» dentro de los parámetros de plantillas. Es necesaria si el carácter se usa en la sintaxis wiki de una tabla, o si el parámetro está automáticamente enlazado y desea usar una barra vertical para especificar un texto de enlace diferente del nombre de la página a la que se enlaza. En otros casos es mejor usar «&#124;».

Esta plantilla no debe usarse para poner el carácter como texto en una tabla wiki ni en una firma de usuario personalizada; en esos casos puede usarse «&#124;».

[editar] Plantillas relacionadas

Herramientas personales
Espacios de nombres

Variantes
Acciones
Navegación
Herramientas
Compartir