Difference between revisions of "Template:Shortcut2"

From ISFDB
Jump to navigation Jump to search
(format)
(links)
 
Line 10: Line 10:
  
 
For example, '''<code><nowiki>{{Shortcut2|shortcut1=Example|link1=Template:Shortcut#Example|shortcut2=Example 2|link2=Template:Shortcut#Example 2}}</nowiki></code>''' will produce a box like this: {{Shortcut2|shortcut1=Example|link1=Template:Shortcut2#Example|shortcut2=Example 2|link2=Template:Shortcut2#Example 2}}
 
For example, '''<code><nowiki>{{Shortcut2|shortcut1=Example|link1=Template:Shortcut#Example|shortcut2=Example 2|link2=Template:Shortcut#Example 2}}</nowiki></code>''' will produce a box like this: {{Shortcut2|shortcut1=Example|link1=Template:Shortcut2#Example|shortcut2=Example 2|link2=Template:Shortcut2#Example 2}}
 +
 +
==See also==
 +
*[[:Template:Shortcut]] (for one shortcut link)
 +
*[[:Template:Shortcut3]] (for three shortcut links)
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:26, 9 February 2024

Shortcuts
[[|]]
[[|]]

This template adds a small box (see right) displaying a shortcut that can be used to reach a specific page or section of a page in the wiki section of ISFDB.

Usage

To use this template, copy the following and fill it in:

{{Shortcut2|shortcut1=|link1=|shortcut2=|link2=}}

For example, {{Shortcut2|shortcut1=Example|link1=Template:Shortcut#Example|shortcut2=Example 2|link2=Template:Shortcut#Example 2}} will produce a box like this:

Shortcuts
Example
Example 2

See also