Difference between revisions of "Template:ExampleWiki"

From BITPlan mediawiki-japi Wiki
Jump to navigation Jump to search
(Generated from a page schema)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the template for ExampleWikis
+
This is the "ExampleWiki" template.
Logos are not yet displayed since the image white list is not set
+
It should be called in the following format:
=== usage ===
 
 
<pre>
 
<pre>
{{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
{{ExampleWiki|siteurl=http://mediawiki-japi.bitplan.com/mw1_19|wikiid=mw1_19|mwversion=1.25|mwlogo=http://somelink/somelogo}}
+
|siteurl=
 +
|wikid=
 +
|mwversion=
 +
|mwlogo=
 +
}}
 
</pre>
 
</pre>
=== example ===
+
Edit the page to see the template text.
{{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>{| class="wikitable"
{{ExampleWiki|siteurl=http://mediawiki-japi.bitplan.com/mw1_19|wikiid=mw1_19|mwversion=1.25|mwlogo=http://somelink/somelogo}}
+
! siteurl
</noinclude><includeonly>Siteurl: [[siteurl::{{{siteurl}}}]] <br>
+
| {{{siteurl|}}}  
WikiId: [[wikiid::{{{wikiid}}}]]<br>
+
|-
Version: [{{{siteurl}}}/wiki/Special:Version [[mwversion::{{{mwversion}}}]] ]<br>
+
! wikiId
Logo:  <img src='{{{mwlogo}}}' title='[[mwlogo::{{{mwlogo}}}]]'> <br>
+
| {{{wikid|}}}  
<nowiki>#</nowiki> Expected Pages: [[MwMinExpectedPages::{{{MwMinExpectedPages|3}}}]]<br>
+
|-
[[Category:ExampleWiki]]</includeonly>
+
! Version
 +
| {{{mwversion|}}}  
 +
|-
 +
! Logo
 +
| {{{mwlogo|}}}  
 +
|}
 +
 
 +
[[Category:ExampleWiki]]
 +
</includeonly>

Revision as of 16:09, 6 January 2015

This is the "ExampleWiki" template. It should be called in the following format:

{{ExampleWiki
|siteurl=
|wikid=
|mwversion=
|mwlogo=
}}

Edit the page to see the template text.