Difference between revisions of "Template:Related"

From ArchWiki
Jump to: navigation, search
 
m (css fixes)
Line 16: Line 16:
 
For translators, it is possible to use a second argument in order to translate the anchor text:
 
For translators, it is possible to use a second argument in order to translate the anchor text:
  
  <nowiki>{{Related|Link A (Language)|Link translated}}</nowiki></noinclude><includeonly><li>[[{{{1}}}|{{{2|{{{1}}}}}}]]</li></includeonly>
+
  <nowiki>{{Related|Link A (Language)|Link translated}}</nowiki></noinclude><includeonly><li style="margin-left:20%; text-indent:-20%;">[[{{{1}}}|{{{2|{{{1}}}}}}]]</li></includeonly><noinclude><!-- margin-left and text-indent indent the second (and on) lines of long links; make sure to test any hacks on all the main browsers --></noinclude>

Revision as of 03:37, 16 November 2013

This page is a template. It contains no Arch Linux-related information, but should be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

The template used to show a related link in the dedicated right-floated box.

Usage

{{Related articles start}}
{{Related|Link A}}
{{Related|Link B}}
{{Related|Link C}}
{{Related articles end}}

For translators, it is possible to use a second argument in order to translate the anchor text:

{{Related|Link A (Language)|Link translated}}