Template:IMPORT
From Grigbertz
(Difference between revisions)
m (1 revision) |
(Added missing div.) |
||
(2 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
- | This template is used on | + | 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. |
==== 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>log</tt> - Optional. Link to import log page. | * <tt>log</tt> - Optional. Link to import log page. | ||
==== Example ==== | ==== Example ==== | ||
- | <tt><nowiki>{{import|wiki=Dragonstar|page=HomePage|interwiki=1}}</nowiki></tt> | + | <tt><nowiki>{{import|wiki=Dragonstar|page=HomePage|interwiki=1}}</nowiki></tt> |
== Preview == | == Preview == | ||
</noinclude> | </noinclude> | ||
- | <div style="border: 1px solid | + | <div style="border: 1px solid #aaa; background: {{#if:{{{interwiki|}}}{{{image|}}}{{{plugin|}}}|yellow|#f9f9f9}}; padding: 0.2em; margin-bottom: 0.4em;"> |
- | This article | + | This article has been imported from the {{{wiki}}} wiki. {{#if:{{{log|}}}|See the import [[{{{log}}}|log page]] for details.}} |
- | {{#if:{{{interwiki|}}}{{{image|}}}{{{plugin | + | {{#if:{{{interwiki|}}}{{{image|}}}{{{plugin|}}}| |
- | ''' | + | '''Warning''': |
- | {{#if:{{{ | + | {{#if:{{{plugin|}}}|* Unknown plugin! |
- | }}{{#if:{{{ | + | }}{{#if:{{{interwiki|}}}|* Interwiki links![[Category:Interwiki warnings]] |
- | }}{{#if:{{{image|}}}|* Image links | + | }}{{#if:{{{image|}}}|* Image links! |
- | + | }} | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</div> | </div> | ||
+ | <includeonly>[[Category:Import warnings]]</includeonly> }} | ||
<noinclude>[[Category:Import templates]]</noinclude> | <noinclude>[[Category:Import templates]]</noinclude> |
Revision as of 17:50, 25 August 2008
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.
- log - Optional. Link to import log page.
Example
{{import|wiki=Dragonstar|page=HomePage|interwiki=1}}
Preview
This article has been imported from the {{{wiki}}} wiki.