Difference between revisions of "Template:ExampleWiki"

From BITPlan mediawiki-japi Wiki
Jump to navigation Jump to search
(Generated from a page schema)
(Undo revision 325 by Wf (talk))
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=
 
|mwversion=
 
|mwlogo=
 
}}
 
 
</pre>
 
</pre>
Edit the page to see the template text.
+
=== example ===
</noinclude><includeonly>{| class="wikitable"
+
{{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>
! siteurl
+
{{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>
|-
+
WikiId: [[wikiid::{{{wikiid}}}]]<br>
! wikiId
+
Version: [{{{siteurl}}}/wiki/Special:Version [[mwversion::{{{mwversion}}}]] ]<br>
| {{{wikid|}}}  
+
Logo:  <img src='{{{mwlogo}}}' title='[[mwlogo::{{{mwlogo}}}]]'> <br>
|-
+
<nowiki>#</nowiki> Expected Pages: [[MwMinExpectedPages::{{{MwMinExpectedPages|3}}}]]<br>
! Version
+
[[Category:ExampleWiki]]</includeonly>
| {{{mwversion|}}}  
 
|-
 
! Logo
 
| {{{mwlogo|}}}  
 
|}
 
 
 
[[Category:ExampleWiki]]
 
</includeonly>
 

Revision as of 16:22, 6 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

Siteurl: http://mediawiki-japi.bitplan.com/mw1_19
WikiId: mw1_19
Version: 1.25
Logo:
# Expected Pages: 3