Difference between revisions of "Template:SourceWiki"
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
(translation) |
(translation) |
||
Line 2: | Line 2: | ||
{{#if: {{{wikibild-div|}}} | {{{wikibild-div}}}}} | {{#if: {{{wikibild-div|}}} | {{{wikibild-div}}}}} | ||
<div>{{#invoke: SourceWiki | basis | deleted={{{deleted|}}} }} [[{{{wikiname}}}{{#if: {{{lang|}}} | -{{{lang}}}}}:{{#if: {{{sourcetitle|}}} | {{{sourcetitle}}} | {{FULLPAGENAME}} }}|{{#if: {{{sourcetitle|}}} | {{{sourcetitle}}} | {{FULLPAGENAME}} }}]] from {{#if: {{{wikidescription|}}} | {{{wikidescription}}}|}} {{#if: {{{wikilangurl|}}} | [http://{{{wikilangurl}}} {{{wikiname}}}] |[http://{{#if: {{{lang|}}} | {{{lang}}}.}}{{{wikiurl}}} {{{wikiname}}}]}} {{#if: {{{oldid|}}} | revision [http://{{#if: {{{lang|}}} | {{{lang}}}.}}{{{wikiurl}}}/w/index.php?title={{urlencode:{{#if: {{{sourcetitle|}}} | {{{sourcetitle}}} | {{FULLPAGENAME}} }}}}&oldid={{{oldid}}} {{{oldid}}}]|}}{{#if: {{{oldid-update|}}} | (last update that has been included [http://{{#if: {{{lang|}}} | {{{lang}}}.}}{{{wikiurl}}}/w/index.php?title={{urlencode:{{#if: {{{sourcetitle|}}} | {{{sourcetitle}}} | {{FULLPAGENAME}} }}}}&oldid={{{oldid-update}}} {{{oldid-update}}}]|}} {{#if: {{{datum|}}} | of {{{datum}}} |}} and is licensed under [http://www.gnu.org/licenses/fdl.txt GNU license for free documentation] and the [http://creativecommons.org/licenses/by-sa/3.0/de/ Creative Commons Attribution/Share Alike]. On {{{wikiname}}} there is a {{#if: {{{wikilangurl|}}} | [http://{{{wikilangurl}}}/index.php?title={{urlencode:{{#if: {{{sourcetitle|}}} | {{{sourcetitle}}} | {{FULLPAGENAME}} }}}}&action=history List of authors]| [http://{{#if: {{{lang|}}} | {{{lang}}}.}}{{{wikiurl}}}/{{#if:{{{wikipath|}}}|{{{wikipath}}}|}}index.php?title={{urlencode:{{#if: {{{sourcetitle|}}} | {{{sourcetitle}}} | {{FULLPAGENAME}} }}}}&action=history List of authors] }} accessible. {{#if: {{{description|}}} | {{{description}}}}} {{#if: {{{oldid-local|}}} | [[Special:Diff/{{{oldid-local}}}/cur|Changes on iemdwiki]]. |}} {{#if: {{{oldid|}}} | [[{{{wikiname}}}{{#if: {{{lang|}}} | -{{{lang}}}}}:Special:Diff/{{{oldid}}}/cur|Changes in {{{wikiname}}}]]. |}}{{#if: {{{oldid-update|}}} | [[{{{wikiname}}}{{#if: {{{lang|}}} | -{{{lang}}}}}:Special:Diff/{{{oldid-update}}}/cur|Changes since latest update on {{{wikiname}}}]]. |}}{{#if: {{{wikicomment|}}} | {{{wikicomment}}}|}} {{#if: {{{comment|}}} | {{{comment}}}|}}</div> | <div>{{#invoke: SourceWiki | basis | deleted={{{deleted|}}} }} [[{{{wikiname}}}{{#if: {{{lang|}}} | -{{{lang}}}}}:{{#if: {{{sourcetitle|}}} | {{{sourcetitle}}} | {{FULLPAGENAME}} }}|{{#if: {{{sourcetitle|}}} | {{{sourcetitle}}} | {{FULLPAGENAME}} }}]] from {{#if: {{{wikidescription|}}} | {{{wikidescription}}}|}} {{#if: {{{wikilangurl|}}} | [http://{{{wikilangurl}}} {{{wikiname}}}] |[http://{{#if: {{{lang|}}} | {{{lang}}}.}}{{{wikiurl}}} {{{wikiname}}}]}} {{#if: {{{oldid|}}} | revision [http://{{#if: {{{lang|}}} | {{{lang}}}.}}{{{wikiurl}}}/w/index.php?title={{urlencode:{{#if: {{{sourcetitle|}}} | {{{sourcetitle}}} | {{FULLPAGENAME}} }}}}&oldid={{{oldid}}} {{{oldid}}}]|}}{{#if: {{{oldid-update|}}} | (last update that has been included [http://{{#if: {{{lang|}}} | {{{lang}}}.}}{{{wikiurl}}}/w/index.php?title={{urlencode:{{#if: {{{sourcetitle|}}} | {{{sourcetitle}}} | {{FULLPAGENAME}} }}}}&oldid={{{oldid-update}}} {{{oldid-update}}}]|}} {{#if: {{{datum|}}} | of {{{datum}}} |}} and is licensed under [http://www.gnu.org/licenses/fdl.txt GNU license for free documentation] and the [http://creativecommons.org/licenses/by-sa/3.0/de/ Creative Commons Attribution/Share Alike]. On {{{wikiname}}} there is a {{#if: {{{wikilangurl|}}} | [http://{{{wikilangurl}}}/index.php?title={{urlencode:{{#if: {{{sourcetitle|}}} | {{{sourcetitle}}} | {{FULLPAGENAME}} }}}}&action=history List of authors]| [http://{{#if: {{{lang|}}} | {{{lang}}}.}}{{{wikiurl}}}/{{#if:{{{wikipath|}}}|{{{wikipath}}}|}}index.php?title={{urlencode:{{#if: {{{sourcetitle|}}} | {{{sourcetitle}}} | {{FULLPAGENAME}} }}}}&action=history List of authors] }} accessible. {{#if: {{{description|}}} | {{{description}}}}} {{#if: {{{oldid-local|}}} | [[Special:Diff/{{{oldid-local}}}/cur|Changes on iemdwiki]]. |}} {{#if: {{{oldid|}}} | [[{{{wikiname}}}{{#if: {{{lang|}}} | -{{{lang}}}}}:Special:Diff/{{{oldid}}}/cur|Changes in {{{wikiname}}}]]. |}}{{#if: {{{oldid-update|}}} | [[{{{wikiname}}}{{#if: {{{lang|}}} | -{{{lang}}}}}:Special:Diff/{{{oldid-update}}}/cur|Changes since latest update on {{{wikiname}}}]]. |}}{{#if: {{{wikicomment|}}} | {{{wikicomment}}}|}} {{#if: {{{comment|}}} | {{{comment}}}|}}</div> | ||
− | </div>[[ | + | </div>[[Category:Imedwiki:Import from other wiki]][[Category:Imedwiki:Import from {{{wikiname}}}]]</includeonly><noinclude>{{Documentation}}{{Anthrowiki|Template:Wikipedia}}<templatedata> |
{ | { | ||
"params": { | "params": { |
Latest revision as of 19:45, 19 September 2021
Template documentation[create]
This template is based (in parts) on the Template:SourceWiki from Anthrowiki and is licensed under GNU license for free documentation and the Creative Commons Attribution/Share Alike. On Anthrowiki there is a List of authors accessible.
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Lang | lang | Language
| String | suggested |
Sourcetitle | sourcetitle | Name of page in source wiki | Page | suggested |
Oldid | oldid | Revision of page in source wiki | Unknown | optional |
Oldid-update | oldid-update | Latest revision in source wiki that has been included | Unknown | optional |
Deleted | deleted | Article has been deleted in source wiki | Boolean | optional |
Oldid-local | oldid-local | Revision of page on imedwiki | Unknown | optional |
Date | date | Date of import
| Date | optional |
Wikiname | wikiname | Name of source wiki
| String | suggested |
Wikiurl | wikiurl | url of wiki
| URL | suggested |
Wikilangurl | wikilangurl | url of wiki with language prefix
| URL | suggested |
Wikidescription | wikidescription | Short text that will be included between 'from' and 'wikiname'
| String | optional |
Description | description | Description of wiki | String | optional |
Wikipic-div | wikipic-div | a <div>, including an image of source wiki
| Unknown | optional |
Wikicomment | wikicomment | Short text that will be appended. Description of wiki.
| String | optional |
Comment | comment | Short text to be appended at the end. Describing this specific import.
| String | optional |