Misplaced Pages

Template:X5: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 22:50, 19 March 2007 editFabartus (talk | contribs)Extended confirmed users21,651 edits Add text for CBD consult← Previous edit Latest revision as of 08:34, 25 December 2024 edit undoHazard-Bot (talk | contribs)Bots174,969 editsm Bot: Automatically cleanedTag: Manual revert 
Line 1: Line 1:
<noinclude>{{Please leave this line alone (template sandbox heading)}}<!--
<includeonly><noinclude>{{Inuse-until|00:30 13 March}}<b>]</b><font color="green">]</font> 21:46, 12 March 2007 (UTC)
* Welcome to the template sandbox! *
This sandbox is itself a template. This sandbox is for experimenting with templates.
{{Please leave this line alone (template sandbox heading)}} * Please leave this part alone *
* The page is cleared regularly *

* Feel free to try your editing skills below *
If you defined parameters such as <tt><nowiki>{{Template sandbox|First|Second|name="Named"}}</nowiki></tt>:
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■--></noinclude>
;First:{{{1}}}
;Second:{{{2}}}
;Name:{{{name}}}

----
<!-- Hello! Feel free to try your formatting and editing skills below this line. As this page is for editing experiments, this page will automatically be cleaned every 12 hours. -->
</noinclude><!---
-----
----></includeonly><!---
-----
---->{{#switch: {{{1|}}}<!---
==---->| "<!---
==---->| @<!---
==---->| * =<!--- ------------------------------------------------------------- -----
==----- ----- Select Default for Article name, implication is that the Category -----
==----- ----- name must differ or the user could just employ the default form. -----
==----------------------------------------------------------------------------- -----
==----><div style="margin-left: 26px;"><small>{{#if: {{{2A|}}}{{{3A|}}}<!---
---->|Articles:|Article:<!---
---->}} </small><b> '']'' <!---
---->{{#if: {{{2A|}}}{{{3A|}}}|<!---
==------>{{#if: {{{2A|}}}|'']'' }}<!---
==------>{{#if: {{{3A|}}}|'']''}}<!---
---->}}</b><br></div><!--- endif: More than one article ----><!---
-----
---->| !
| #
| $ ='''No Article'''<!--- Case works correctly... ---->
| #default = <!--- default form... Implies {{{1}}} not a switch character or is
----- totally undefined.
==----><div style="margin-left: 26px;"><small>{{#if: {{{2A|}}}{{{3A|}}}<!---
---->|Articles:|Article:<!---
---->}} </small><b> '']'' <!---
---->{{#if: {{{2A|}}}{{{3A|}}} |<!---
==------>{{#if: {{{2A|}}} |'']''}} <!---
==------>{{#if: {{{3A|}}} |'']''}}<!---
---->}}</b><br></div><!--- endif: More than one article -----
---->}}<!---- END FIRST (ARTICLE) SWITCH ----- -----
----- --------------------------------------------------------------------------------------- -----
----- Dummy in the 'generic' Meta Logo-- this may work on most or all sisters without change! -----
----- --------------------------------------------------------------------------------------- -----
----><div style="float: left;border:1px solid #a9a9a9; ">{{
#ifeq:Wikimedia Commons|{{SITENAME}}
|]
|]
}}</div><!----
----- ----- ------------------- ----- -----
----- ----- END OF LOGO SECTION ----- -----
----- ----- ------------------- ----- -----
----->{{#switch: {{{{{2}}} }}<!---
---->| "<!---
---->| @<!---
---->| * =<!--- ---------------------------------------------------------------- -----
----- ---- Display the default (PAGENAME) Category or 1C, 2C, 3C overrides. -----
----- ---- This would be an unusual mode, as assumes {{{2}}} defined, but -----
----- ---- essentially ignored as an input parameter, as may be the normal -----
----- ---- default PAGENAME. ----
----- ---- ----------------------------------------------------------------- ----
----><div style="margin-left: 60px;"><!---
-----
----><small>{{#if:Wikimedia Commons|{{SITENAME}}|en.Misplaced Pages|Commons}} {{#if: {{{2C|}}}{{{3C|}}} |Categories:|Category:}} </small><br /><!---
----> '']'' <!---
---->{{#if: {{{2C|}}}{{{3C|}}}|<!---
==------>{{#if: {{{2C|}}}|'']'' <!---
==------>}}<!---
==------>{{#if: {{{3C|}}}|'']''<!---
==------>}}<!---
---->}}</b><br></div><!--- endif: More than one Category ----><!---
---->| !<!---
---->| #<!--- HERE CBD--- seem to be seeing none of this case...
---->| $ ='''No Category'''{{ #switch: {{{1|}}}| !
| #
| $ ='''THIS IS WikiPcatNo/CommonscatNO FORM... whatever that message is'''<!---
======---->] | #default='''Switch 1 defaults badly in Category logic''<!---
=====---->}}
| #default = <!--- switch on (2) default output (Normal flow comes here unless '{{{2}}}' is an override name)
-----
----><small>{{#ifeq:Wikimedia Commons|{{SITENAME}}|en.Misplaced Pages|Commons}} {{#if: {{{2C|}}}{{{3C|}}} |Categories:|Category:}} </small><br /><!---
----> '']'' <!---
----- ----------------------------------------------------------------------- -----
----- The preceeding line above is the main output line 49 times out of fifty -----
----- ----------------------------------------------------------------------- -----
---->{{#if: {{{2C|}}}{{{3C|}}}|<!---
==------>{{#if: {{{2C|}}}|'']'' <!---
==------>}}<!---
==------>{{#if: {{{3C|}}}|'']'' <!---
==------>}}<!---
---->}}<!--- endif: More than one Category ----><!---
-----
----></b><br></div>
}}
<noinclude>{{Interwikitmp-grp}}</noinclude>

Latest revision as of 08:34, 25 December 2024

Welcome to Template:X5, a Misplaced Pages template sandbox. This page is itself a template, and it allows you to carry out experiments related to template editing. If you wish to experiment with article editing, use the Misplaced Pages Sandbox or your own user sandbox.

To edit, click the edit tab above, make your changes and click the Publish changes button when finished. Content will not stay permanently; the template sandboxes are automatically cleaned every twelve hours.

Please do not place copyrighted, offensive, illegal or libelous content in the sandboxes. For assistance with template coding, try the technical forum at the Village Pump.

You can also try Special:ExpandTemplates and several other template sandboxes that you can use to carry out experiments.

If you need more sandboxes, please consider using testwiki. You can also conduct tests using the Misplaced Pages Sandbox. For instance, to transclude this template there, edit it so that it includes: {{X5}}


Sandbox navigation
Information
Misplaced Pages sandboxes
Template sandboxes
Draft sandboxes
User sandboxes
Module sandboxes
File sandboxes
My sandboxes
Test wikis
Category: