Difference between revisions of "Template:ExampleWiki"

From BITPlan mediawiki-japi Wiki
Jump to navigation Jump to search
(Generated from a page schema)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "ExampleWiki" template.
+
This is the template for ExampleWikis
It should be called in the following format:
+
Logos are not yet displayed since the image white list is not set
 +
=== usage ===
 
<pre>
 
<pre>
{{ExampleWiki
+
{{ExampleWiki|siteurl=http://en.wikipedia.org|wikiid=en_wikipedia_org|mwversion=1.25|mwlogo=https://upload.wikimedia.org/wikipedia/mediawiki/b/bc/Wiki.png|MwMinExpectedPages=265000}}
|siteurl=
+
{{ExampleWiki|siteurl=http://mediawiki-japi.bitplan.com/mw1_19|wikiid=mw1_19|mwversion=1.25|mwlogo=http://somelink/somelogo}}
|wikid=
+
</pre>
|mwversion=
+
=== example ===
|mwlogo=
+
{{ExampleWiki|siteurl=http://en.wikipedia.org|wikiid=en_wikipedia_org|mwversion=1.25|mwlogo=https://upload.wikimedia.org/wikipedia/mediawiki/b/bc/Wiki.png|MwMinExpectedPages=265000}}<br>
 +
{{ExampleWiki|siteurl=http://mediawiki-japi.bitplan.com/mw1_19|wikiid=mw1_19|mwversion=1.25|mwlogo=http://somelink/somelogo}}
 +
</noinclude><includeonly>Siteurl: [[ExampleWiki siteurl::{{{siteurl}}}]] <br>
 +
WikiId: [[ExampleWiki wikiid::{{{wikiid}}}]]<br>
 +
Version: [{{{siteurl}}}/wiki/Special:Version [[mwversion::{{{mwversion}}}]] ]<br>
 +
Logo:  <img src='{{{mwlogo}}}' title='[[mwlogo::{{{mwlogo}}}]]'> <br>
 +
<nowiki>#</nowiki> Expected Pages: [[MwMinExpectedPages::{{{MwMinExpectedPages|3}}}]]<br>
 +
 
 +
{{#ask: [[Category:ExamplePage]] [[ExamplePage_wiki::{{{ExampleWiki_wikiName|}}}]]
 +
| ?ExamplePage_content
 
}}
 
}}
</pre>
 
Edit the page to see the template text.
 
</noinclude><includeonly>{| class="wikitable"
 
! siteurl
 
| {{{siteurl|}}}
 
|-
 
! wikiId
 
| {{{wikid|}}}
 
|-
 
! Version
 
| {{{mwversion|}}}
 
|-
 
! Logo
 
| {{{mwlogo|}}}
 
|}
 
  
[[Category:ExampleWiki]]
+
[[Category:ExampleWiki]]</includeonly>
</includeonly>
 

Latest revision as of 22:36, 8 January 2015

This is the template for ExampleWikis Logos are not yet displayed since the image white list is not set

usage

{{ExampleWiki|siteurl=http://en.wikipedia.org|wikiid=en_wikipedia_org|mwversion=1.25|mwlogo=https://upload.wikimedia.org/wikipedia/mediawiki/b/bc/Wiki.png|MwMinExpectedPages=265000}}
{{ExampleWiki|siteurl=http://mediawiki-japi.bitplan.com/mw1_19|wikiid=mw1_19|mwversion=1.25|mwlogo=http://somelink/somelogo}}

example

Siteurl: http://en.wikipedia.org
WikiId: en_wikipedia_org
Version: 1.25
Logo:
# Expected Pages: 265000

Some use of "" in your query was not closed by a matching "".
Siteurl: http://mediawiki-japi.bitplan.com/mw1 19
WikiId: mw1_19
Version: 1.25
Logo:
# Expected Pages: 3

Some use of "" in your query was not closed by a matching "".