Template:Note/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Redirected page to Template:Note:ru/doc)
Tag: New redirect
Line 1: Line 1:
{{lang|Template:Note/doc}}
#REDIRECT [[Template:Note:ru/doc]]
<!-- Please place categories where indicated at the bottom of this page.) -->
{{Inline note templates}}
{{Documentation subpage}}
== Usage ==
=== Parameters ===
* {{param|1}} - The text to show on the right. The characters <code>=</code> and <code>|</code> can break this template because they are special characters in template calls. Use <code>[[Template:=|<nowiki>{{</nowiki>=}}]]</code> and <code>[[Template:!|<nowiki>{{</nowiki>!}}]]</code> instead; See [[:Category:Templates for within templates]].
 
=== Examples ===
{| border=1 style="border-collapse:collapse; background:none" cellpadding=8
!colspan=2| Wikitext !! Result
|-
| <code><nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>}}</nowiki></code>
| &rarr;
| {{ {{ROOTPAGENAME}} }}
|-
|style=white-space:nowrap| <code><nowiki>{{</nowiki>{{ROOTPAGENAME}}|This is an example text.}}</code>
| &rarr;
| {{ {{ROOTPAGENAME}} |This is an example text.}}
|-
|style=white-space:nowrap| <code><nowiki>{{</nowiki>{{ROOTPAGENAME}}|<br>Enumeration<br># Enum<br># Eration<br>}}</code>
| &rarr;
| {{ {{ROOTPAGENAME}} |
Enumeration
# Enum
# Eration
}}
|-
| <code>text<br><nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>|text}}</nowiki><br>text</code>
| &rarr;
| {{lorem}}
{{ {{ROOTPAGENAME}} | {{lorem}} }}
{{lorem}}
|}
 
<includeonly>{{sandbox other||
<!-- Categories below this line, please -->
 
[[Category:Inline note templates|{{PAGENAME}}]]
[[Category:Notice templates|{{PAGENAME}}]]
 
}}</includeonly>

Revision as of 03:23, 18 September 2022