Template:Example: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
No edit summary
m (Protected "Template:Example": High importance template ([Move=Allow only administrators] (indefinite)))
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| border="1" align="center"
{|border="1" align="center"
|+ <big>'''{{{title|No title entered}}}'''</big>
|+ <big>'''{{{title|Your title goes here}}}'''</big>
|-
|-
|{{if|{{{image|}}}
|{{if|{{{image|}}}
Line 11: Line 11:
|three=You entered "three".
|three=You entered "three".
}}
}}
|-  
|-
| colspan="3" | <center>On text, you entered "{{{text|}}}".</center>
|colspan=3|<center>On text, you entered "{{{text|}}}".</center>
|}
|}
<noinclude>Users who are new to MediaWiki can practise on this template to raise their template skills. If you want to try ot out, you can experiment in the [[WikiIndex:Sandbox|sandbox]].
 
{{#switch: {{{blah}}}
| a = Angry
| b = Barbeque
| c = crocodile
| | nothing | #default = argh
}}
<noinclude>This is a [[:Category:Templates|template]] to be used only for [[:Category:Templates for testing|testing]] purposes.  Users who are new to [[:Category:MediaWiki|MediaWiki]] can practise on this template to raise their template skillsIf you want to try it out, you can experiment in the [[WikiIndex:Sandbox|sandbox]].
<pre><nowiki>
<pre><nowiki>
{{example
{{example
| title =
|title =
| image =
|image =
| URL  =
|URL  =
| cell3 =
|cell3 =
| text  =
|text  =
}}</nowiki></pre>
}}</nowiki></pre>
*"image" should be the filename of an uploaded image.
*"image" should be the filename of an uploaded image.
*"cell3" should be one, two or three.
*"cell3" should be one, two or three.
*"URL" should be a URL, with http:// prefix.</noinclude>
*"URL" should be a URL, with http:// prefix.
 
[[Category:Templates for testing]]</noinclude>

Latest revision as of 02:30, 1 December 2021

Your title goes here
No image. [{{{URL}}} ExampleURL]
On text, you entered "".

argh This is a template to be used only for testing purposes. Users who are new to MediaWiki can practise on this template to raise their template skills! If you want to try it out, you can experiment in the sandbox.

{{example
|title =
|image =
|URL   =
|cell3 =
|text  =
}}
  • "image" should be the filename of an uploaded image.
  • "cell3" should be one, two or three.
  • "URL" should be a URL, with http:// prefix.