Template:Docalt MULTI/doc: Difference between revisions

From LPedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
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.
This template is used to show there are both PDF and TXT versions for items rendered in wikitext.  The main article should always be in the Document: namespace.
__NOTOC__
__NOTOC__
==Parameters==
==Parameters==


===1===
Fill in the first blank with your PDF file.  Fill in the second blank with your TXT file.
Your PDF file
 
You do not need to include the "file" or "media" prefix when copying your file links as that is already included in the template.


===2===
Your TXT file


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


  <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>
  <nowiki>{{Docalt MULTI|________|_________}}</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.
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. It should be placed as the very first item on the page unless that will not fit gracefully with the article.
 
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.''




<noinclude>[[Category:Documentation Subpages]]</noinclude>
<noinclude>[[Category:Documentation Subpages]]</noinclude>

Latest revision as of 07:48, 5 September 2019

This template is used to show there are both PDF and TXT versions for items rendered in wikitext. The main article should always be in the Document: namespace.

Parameters

Fill in the first blank with your PDF file. Fill in the second blank with your TXT file.

You do not need to include the "file" or "media" prefix when copying your file links as that is already included in the template.


Usage

Copy this text:

{{Docalt MULTI|________|_________}}

Usage Notes

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. It should be placed as the very first item on the page unless that will not fit gracefully with the article.