Difference between revisions of "Template:IMPORT"

From Action
Jump to navigation Jump to search
m (Typo.)
m (Protected "Template:IMPORT": Critical. [edit=sysop:move=sysop])
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This template is used on imported pages. All such pages are included in the [[:Category:Imported pages|Imported pages]] category, and possibly other categories if they contain errors. This tempate can be removed from the page once all errors have been fixed.
+
This template is used on [[{{SITENAME}}:Import|imported]] pages. All such pages are included in the [[:Category:Imported pages|Imported pages]] category, and possibly other categories if they contain errors. This tempate can be removed from the page once all errors have been fixed.
  
 
==== Arguments ====
 
==== Arguments ====
Line 9: Line 9:
 
* <tt>plugin</tt> - Optional. Set to nonempty (1) if unknown plugin is used on page.
 
* <tt>plugin</tt> - Optional. Set to nonempty (1) if unknown plugin is used on page.
 
* <tt>image</tt> - Optional. External image is used on page. This should be uploaded to the wiki.
 
* <tt>image</tt> - Optional. External image is used on page. This should be uploaded to the wiki.
* <tt>dead</tt> - Optional. The page contains dead (buried) links.
+
* <tt>dead</tt> - Optional. The page contains missing (buried) links.
 +
* <tt>markup</tt> - Optional. The page contains possible markup errors.
 
* <tt>log</tt> - Optional. Link to import log page.
 
* <tt>log</tt> - Optional. Link to import log page.
  
Line 17: Line 18:
 
== Preview ==
 
== Preview ==
 
</noinclude>
 
</noinclude>
<div style="border: 1px solid {{#if:{{{interwiki|}}}{{{image|}}}{{{plugin|}}}{{{dead|}}}|#ffcc00|#aaa}}; background: {{#if:{{{interwiki|}}}{{{image|}}}{{{plugin|}}}{{{dead|}}}|#fffddf|#f9f9f9}}; padding: 0.2em; margin-bottom: 0.4em;">
+
<div style="border: 1px solid {{#if:{{{interwiki|}}}{{{image|}}}{{{plugin|}}}{{{dead|}}}|#ffcc00|#aaa}}; background: {{#if:{{{interwiki|}}}{{{image|}}}{{{plugin|}}}{{{markup|}}}{{{dead|}}}|#fffddf|#f9f9f9}}; padding: 0.2em; margin-bottom: 0.4em;">
This article has been imported from the {{{wiki}}} wiki. {{#if:{{{log|}}}|See the import [[{{{log}}}|log page]] for details.}}
+
This article is '''[[{{SITENAME}}:Import|imported]]''' from {{#if:{{{wiki|}}}|the {{{wiki}}} wiki|PhpWiki}}. {{#if:{{{log|}}}|See the '''[[{{{log}}}|import log]]''' for details.}}
{{#if:{{{interwiki|}}}{{{image|}}}{{{plugin|}}}|
+
{{#if:{{{interwiki|}}}{{{image|}}}{{{plugin|}}}{{{markup|}}}{{{dead|}}}|
 
'''Warnings''':
 
'''Warnings''':
{{#if:{{{plugin|}}}|* Unknown plugins.
+
{{#if:{{{markup|}}}|* Possible markup errors.
 +
}}{{#if:{{{dead|}}}|* Buried links.[[Category:Link warnings]]
 +
}}{{#if:{{{image|}}}|* Image links.
 
}}{{#if:{{{interwiki|}}}|* Interwiki links.[[Category:Interwiki warnings]]
 
}}{{#if:{{{interwiki|}}}|* Interwiki links.[[Category:Interwiki warnings]]
}}{{#if:{{{image|}}}|* Image links.
+
}}{{#if:{{{plugin|}}}|* Unknown plugins.}}
}}{{#if:{{{dead|}}}|* Buried links.
+
<includeonly>[[Category:Import warnings]]</includeonly>
}}
+
|
<includeonly>[[Category:Import warnings]]</includeonly> }}
+
<includeonly>[[Category:Import OK]]</includeonly> }}
 +
</div>
 
<noinclude>[[Category:Import templates]]</noinclude>
 
<noinclude>[[Category:Import templates]]</noinclude>

Latest revision as of 08:55, 22 May 2007

This template is used on imported pages. All such pages are included in the Imported pages category, and possibly other categories if they contain errors. This tempate can be removed from the page once all errors have been fixed.

Arguments

  • wiki - Name of source wiki.
  • page - Old page name in source wiki.
  • interwiki - Optional. Set to nonempty (1) if interwiki links exist.
  • plugin - Optional. Set to nonempty (1) if unknown plugin is used on page.
  • image - Optional. External image is used on page. This should be uploaded to the wiki.
  • dead - Optional. The page contains missing (buried) links.
  • markup - Optional. The page contains possible markup errors.
  • log - Optional. Link to import log page.

Example

{{import|wiki=Dragonstar|page=HomePage|interwiki=1}}

Preview

This article is imported from PhpWiki.