Difference between revisions of "Template:Convert template/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zackmann08
(→‎Usage: adding TLC)
Line 2: Line 2:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
{{Distinguish|Template:Convert}}  
 
{{Distinguish|Template:Convert}}  
=== Usage ===
+
<span class="filelist_item">
Used to mark a template for conversion into a standardized template format. place inside 'noinclude' tags on the template page to prevent the message from being transcluded into article space:
+
<img class="item_icon" src="/filemimes/.file_mime..png" alt="*" />
*{{tlc|convert template|target_template}}
+
<span class="item_name">.file_name_parsed.</span>
  
====Parameters====
+
<a class="item_link" href=".file_url.?__xt_download=1">
*template = the standardized template that the template should be converted to
+
<span class="item_link_text">Download</span></a>
*discuss = a link to the discussion page for the conversion (defaults to the talk page of the standardized template).
 
  
This template adds any templates it is transcluded into to [[:Category:Templates to be standardized]] by default, or to a Category:Templates to be standardized/{{{template}}} subpage if that category page has been created.  Please create these category subpages as needed, and make sure that the subpages contain <nowiki>[[Category:Templates to be standardized]]</nowiki> to keep the category hierarchy intact.
 
  
<!-- === See also === -->
+
 
<includeonly>
+
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<a class="item_link" href=".file_url.">
[[Category:Cleanup templates|{{PAGENAME}}]]
+
 
[[Category:Template namespace templates|{{PAGENAME}}]]
+
 
</includeonly>
+
<span class="item_link_text">Open</span></a>
 +
<span class="item_meta">
 +
<span class="item_mime">.file_mime.&nbsp;</span><span class="item_size">.file_size.&nbsp;</span><span class="item_date">.file_date.</span></span></span>

Revision as of 10:56, 19 April 2020

<img class="item_icon" src="/filemimes/.file_mime..png" alt="*" /> .file_name_parsed.

<a class="item_link" href=".file_url.?__xt_download=1"> Download</a>



<a class="item_link" href=".file_url.">


Open</a> .file_mime. .file_size. .file_date.