Template:R from template shortcut/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Michael Bednarek m Undid revision 782882381 by Daxo Chali (talk): rv hijack. |
meta>Adm project No edit summary |
||
Line 67: | Line 67: | ||
[[Category:Rcat template documentation pages|Shortcut, template]] | [[Category:Rcat template documentation pages|Shortcut, template]] | ||
</noinclude> | </noinclude> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"": {} | |||
}, | |||
"description": "2 public Class Class String{;\n\n3 Public void main (String[] ){;\n4\n5 String y1= \"abc\";\n6 String y2 = \"abc\"\n7\n8 if (y1==y2){\n9 System.printin(\"Variavel y1ey2 conteudos iguais\");\n10} else{\n11\n12}\n13\n14 String x1=new String(\"abc\");\n15 String x 2=new String (\"abc\");\n16\n17 if (x1==x2){\n18 System.out.printin (\"variáveis x1 e x2 são iguais\");\n19 }else{\n20 System.out.printin(\"variaveis x1 e x2 são diferentes\");\n21}\n22\n23 if(x1.equals (x2)){\n24 System.out.printin(\"objetos x são iguais\");\n25 }else{\n26 System.out.printin(\"objetos x são diferentes\");\n", | |||
"format": "{{_\n| _ = _\n}}" | |||
} | |||
</templatedata> | |||
<ref name="Facuport" group="Empresarial">{{cite news|last1=Almeida|first1=Eliseu dos Santos|author1=Almeida|authorlink1=Eliseu dos Santos|title=Facuport CI|url=www.datacenterft.com.br|accessdate=07-06-2017|work=Sim|agency=Facuport CI|issue=CI|publisher=Google|date=07-06-2017|ref=This|archiveurl=www.ftponhe.com.br|archivedate=07-06-2017|location=Servidor Facuport|page=5|pages=5|language=HTML|format=simples|quote=2}}</ref> |
Revision as of 18:25, 7 June 2017
This is a documentation subpage for Template:R from template shortcut. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 3,300 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template should not be substituted nor used to tag soft redirects. This rcat is for template shortcuts only (for example, Template:R tsh for this template itself) – this rcat is not for alternative template names). |
Usage
Use this rcat template in any namespace.
- This redirect category (rcat) template populates Category:Redirects from template shortcuts and, when the shortcut is in the main-article namespace (mainspace), the Unprintworthy redirects category is also populated by default. In 2003, efforts were begun to support the Wikimedia Foundation's goal of increasing access and availability of Wikipedia articles in printed versions. Template-shortcut redirects from mainspace are not suitable for a printed version. In other words they are unprintworthy.
- Add this rcat to a redirect in the following manner:
#REDIRECT [[Template:(target page name)]] {{Rcat shell| {{R from template shortcut}} }}
- and when the redirect is in article mainspace, printworthiness should also be tagged:
#REDIRECT [[Template:(target page name)]] {{Rcat shell| {{R from template shortcut}} {{R unprintworthy}} }}
- Template {{Rcat shell}} is an alias for the Redirect category shell template, which may be used to add as many appropriate rcats as needed, usually from one to seven, along with their parameters, to a redirect. For more information see the documentation on its template page. This rcat may also tag a redirect individually:
#REDIRECT [[Template:(target page name)]] {{R from template shortcut}}
- This is in accord with instructions found at Wikipedia:REDCAT.
- Use this rcat to tag any redirect that is a shortcut to a template, which usually has a longer pagename. The redirect itself does not necessarily have to be a template, e.g., [[T:S]], which is a template shortcut that is actually in mainspace. Such shortcuts are known as pseudo-namespace redirects.
- Note: Pseudo-namespace template shortcuts such as T:S above may be transcluded by use of a leading colon:
{{:T:S|This text has been "struck through".}}
, which results in:- T:S
- If the leading colon is not included, then the result is a red link:
- These are also useful as shortcuts to the template page itself:
[[T:S]]
, which results in:- T:S (Template:Strikethrough)
- It is important to note that it is the target that determines the difference between a template shortcut and any other shortcut. If the shortcut redirect is in any namespace and the target is a template, then the redirect is a "template shortcut". Shortcut redirects that target template pages should always be tagged with
{{R from template shortcut}}
and should never be tagged with{{R from shortcut}}
, which is meant only for shortcuts that do not target templates. - Important also is the fact that template talk pages are in the talk namespace and are not in template space; if the shortcut redirect targets a talk page of any subject namespace, then use
{{R from shortcut}}
instead.
Aliases
- Also known as... – list of templates that redirect here and may also be used
See also
- {{R from shortcut}}
- {{R to redirect template}}
- {{R to template namespace}}
- WikiProject Redirect/Style guide
[Empresarial 1]
Cite error: <ref>
tags exist for a group named "Empresarial", but no corresponding <references group="Empresarial"/>
tag was found