Difference between revisions of "Template:ExampleWiki"

From BITPlan mediawiki-japi Wiki
Jump to navigation Jump to search
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
This is the template for ExampleWikis
 
This is the template for ExampleWikis
 +
Logos are not yet displayed since the image white list is not set
 
=== usage ===
 
=== usage ===
 
<pre>
 
<pre>
{{ExampleWiki|siteurl=http://en.wikipedia.org|wikiid=en_wikipedia_org|mwversion=1.25|mwlogo=http://somelink/somelogo}}
+
{{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}}
 
</pre>
 
</pre>
 
=== example ===
 
=== example ===
{{ExampleWiki|siteurl=http://en.wikipedia.org|wikiid=en_wikipedia_org|mwversion=1.25|mwlogo=http://somelink/somelogo}}
+
{{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>
</noinclude><includeonly>Siteurl: [[siteurl::{{{siteurl}}}]] <br>
+
{{ExampleWiki|siteurl=http://mediawiki-japi.bitplan.com/mw1_19|wikiid=mw1_19|mwversion=1.25|mwlogo=http://somelink/somelogo}}
WikiId: [[wikiid::{{{wikiid}}}]]<br>
+
</noinclude><includeonly>Siteurl: [[ExampleWiki siteurl::{{{siteurl}}}]] <br>
 +
WikiId: [[ExampleWiki wikiid::{{{wikiid}}}]]<br>
 
Version: [{{{siteurl}}}/wiki/Special:Version [[mwversion::{{{mwversion}}}]] ]<br>
 
Version: [{{{siteurl}}}/wiki/Special:Version [[mwversion::{{{mwversion}}}]] ]<br>
Logo:  [{{{mwlogo}}} [[mwlogo::{{{mwlogo}}}]] ] [[Category:ExampleWiki]]</includeonly>
+
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
 +
}}
 +
 
 +
[[Category:ExampleWiki]]</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 "".