Difference between revisions of "Template:Shortcut2"

From ISFDB
Jump to navigation Jump to search
(format)
Line 6: Line 6:
 
To use this template, copy the following and fill it in:
 
To use this template, copy the following and fill it in:
 
<pre>
 
<pre>
{{Shortcut|shortcut1=|link1=|shortcut2=|link2=}}
+
{{Shortcut2|shortcut1=|link1=|shortcut2=|link2=}}
 
</pre>
 
</pre>
  
For example, '''<code><nowiki>{{Shortcut|shortcut1=Example|link1=Template:Shortcut#Example|shortcut2=Example 2|link2=Template:Shortcut#Example 2}}</nowiki></code>''' will produce a box like this: {{Shortcut|shortcut1=Example|link1=Template:Shortcut#Example|shortcut2=Example 2|link2=Template:Shortcut#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}}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 13:19, 9 February 2024

Shortcut: [[|]]
[[|]]

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:

Shortcut: Example
Example 2