Difference between revisions of "Template:IMPORT"

From Action
Jump to navigation Jump to search
m (Added link.)
m (Expression fix.)
Line 19: Line 19:
 
<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|}}}{{{dead|}}}|#fffddf|#f9f9f9}}; padding: 0.2em; margin-bottom: 0.4em;">
 
This article is '''[[{{SITENAME}}:Import|imported]]''' from the {{{wiki}}} wiki. {{#if:{{{log|}}}|See the '''[[{{{log}}}|import log]]''' for details.}}
 
This article is '''[[{{SITENAME}}:Import|imported]]''' from the {{{wiki}}} wiki. {{#if:{{{log|}}}|See the '''[[{{{log}}}|import log]]''' for details.}}
{{#if:{{{interwiki|}}}{{{image|}}}{{{plugin|}}}|
+
{{#if:{{{interwiki|}}}{{{image|}}}{{{plugin|}}}{{{dead|}}}|
 
'''Warnings''':
 
'''Warnings''':
 
{{#if:{{{plugin|}}}|* Unknown plugins.
 
{{#if:{{{plugin|}}}|* Unknown plugins.

Revision as of 21:49, 19 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 dead (buried) links.
  • log - Optional. Link to import log page.

Example

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

Preview

This article is imported from the {{{wiki}}} wiki.