Template:Back: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(There was the issue that using this template followed by another would keep the indent of this one. Fixed by replacing <br> with a newline.)
No edit summary
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<onlyinclude><includeonly>:&larr; <small>{{#if: {{{2|}}} | [[:{{{1}}} | {{{2}}}]] | [[:{{{1}}}]] }}</small>
{{doc}}
<!-- we do want a line break here to end the indent--></includeonly></onlyinclude>
<includeonly><onlyinclude><!--
 
--><div style="padding-left:20px; padding-top:4px; padding-bottom:4px;"><!--
This is navigation template. An optional linkname can be added if the pagename is undesirable.
  --><span style="background-color:#202020; padding:2px; border-radius:4px"><!--
 
    -->[[:{{{1}}} | &larr; <small>{{{2| {{{1}}} }}}</small>]]<!--
Usage: <tt><nowiki>{{Back|Pagename|Linkname}}</nowiki></tt>
  --></span><!--
 
--></div></onlyinclude></includeonly>
Example 1: {{Back|Main Page}}
Example 2 (Category): {{Back|Category: Level Design | Level Design}}
 
[[Category:Navigation templates|{{PAGENAME}}]]

Latest revision as of 22:38, 13 July 2024

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history

This is navigation template. An optional linkname can be added if the pagename is undesirable.

Usage: {{Back|Pagename|Linkname}}

Example 1: Example 2 (Category):

See also