Difference between revisions of "Template:Shortcut2"

From ISFDB
Jump to navigation Jump to search
(format)
(format)
Line 1: Line 1:
<table class="shortcutbox noprint" style="float: right; border: 1px solid #aaa; background: #fff; margin: .3em .3em .3em 1em; padding: 3px; text-align: right;"><tr><td style="border: none; background: transparent;" class="plainlist">
+
<table class="shortcutbox noprint" style="float: right; border: 1px solid #aaa; background: #fff; margin: .3em .3em .3em 1em; padding: 3px; text-align: center;"><tr><td style="border: none; background: transparent;" class="plainlist">
 
<small>'''Shortcuts'''{{-}}[[{{{2|{{{link1|}}}}}}|{{{1|{{{shortcut1|}}}}}}]]{{-}}[[{{{4|{{{link2|}}}}}}|{{{3|{{{shortcut2|}}}}}}]]</small></td></tr></table><noinclude>
 
<small>'''Shortcuts'''{{-}}[[{{{2|{{{link1|}}}}}}|{{{1|{{{shortcut1|}}}}}}]]{{-}}[[{{{4|{{{link2|}}}}}}|{{{3|{{{shortcut2|}}}}}}]]</small></td></tr></table><noinclude>
 
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.
 
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.

Revision as of 13:20, 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