Template:Docalt MULTI/doc: Difference between revisions

From LPedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


===1===
===1===
Your XLS file
Your PDF file


===2===
Your TXT file


==Usage==
==Usage==
Line 11: Line 13:
Copy this text:
Copy this text:


  <nowiki>
  <nowiki>{| border=1 cellpadding=10 style="float:right; border-collapse:collapse; background-color:#e8e8f0; text-align:center;"</nowiki><br /><nowiki>|-</nowiki><br /><nowiki>|THIS DOCUMENT IN OTHER FORMATS</nowiki><br /><nowiki>|<span class="linkNewTab"><font size=+2>[[Media:{{{1}}}|PDF]]</font></span><br /></nowiki><br /><nowiki>|<span class="linkNewTab"><font size=+2>[[Media:{{{2}}}|TXT]]</font></span></nowiki><br /><nowiki>|}</nowiki>
{| border=1 cellpadding=10 style="float:right; border-collapse:collapse; background-color:#e8e8f0; text-align:center;" </nowiki><br /><nowiki>|-</nowiki><nowiki>|THIS DOCUMENT IN OTHER FORMATS</nowiki><br/><nowiki><font size=+2>[[Media:{{{1}}}|XLS]]</font><br />|}</nowiki>


==Usage Notes==
==Usage Notes==
The instructions above presume that you have a PDF and a TXT file as this is the most common combination.  If you have different file types change the designation following the three closing curvy brackets and pipe to match your file type.


You do not need to include the "file" or "media" prefix when copying your file link as that is already included in the template.  Also this infobox can overlap text on your page in which case you will need to place several line breaks after it until it clears your text.''
You do not need to include the "file" or "media" prefix when copying your file link as that is already included in the template.  Also this infobox can overlap text on your page in which case you will need to place several line breaks after it until it clears your text.''

Revision as of 02:58, 5 September 2019

This template is used to show there are other formats for items rendered in wikitext. The main article should always be in the Document: namespace.

Parameters

1

Your PDF file

2

Your TXT file

Usage

Copy this text:

{| border=1 cellpadding=10 style="float:right; border-collapse:collapse; background-color:#e8e8f0; text-align:center;"
|-
|THIS DOCUMENT IN OTHER FORMATS
|<span class="linkNewTab"><font size=+2>[[Media:{{{1}}}|PDF]]</font></span><br />
|<span class="linkNewTab"><font size=+2>[[Media:{{{2}}}|TXT]]</font></span>
|}

Usage Notes

The instructions above presume that you have a PDF and a TXT file as this is the most common combination. If you have different file types change the designation following the three closing curvy brackets and pipe to match your file type.

You do not need to include the "file" or "media" prefix when copying your file link as that is already included in the template. Also this infobox can overlap text on your page in which case you will need to place several line breaks after it until it clears your text.