Benutzer:Hansinator/temp: Unterschied zwischen den Versionen

Aus LaborWiki
Wechseln zu: Navigation, Suche
Keine Bearbeitungszusammenfassung
(created infobox test gallery)
Zeile 1: Zeile 1:
{| style="float: right; background-color: white; width:280px; border: 2px solid #009900; border-collapse: collapse; margin:0 0 0.5em 0.5em;"
{{ProjektInfoBox
|- style="background-color:#009900; color:white; text-align:left;"
|name        = StableTest
! colspan="2" style="padding-top: 0.5em;" | <!--
|status      = stable
  --><span style="font-size: 130%;">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}<!-- -->}}</span><br />
|description = This is a test project info box with all parameters filled in and the release status set to stable.
Release status: {{#switch: {{lc: {{{status|unknown}}}<!-- -->}}|<!--
|author     = Hansinator
  -->unstable|experimental|beta|stable={{{status}}}|<!--
|version     = 1.0
  -->#default=unknown<!--
|platform   = Mediawiki
-->}}
|license     = none
|-
|download   = none
<!--
}}
-->{{#if:{{{image|}}}|<!--
  -->{{col sep}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{image}}}|{{{imagesize|220}}}px]]<!--
-->}}
|- style="border-bottom:1px solid #F0F0F0;"
| style="vertical-align: top; padding:0.2em 0.5em;" | '''Description''' || {{{description}}}
|- style="border-bottom:1px solid #F0F0F0;"
| style="vertical-align: top; padding:0.2em 0.5em;" | '''Author(s)''' || {{{author}}}
|- style="border-bottom:1px solid #F0F0F0;"
| style="vertical-align: top; padding:0.2em 0.5em;" | '''Last Version''' || {{{version}}}
<!--
-->{{#if:{{{version|}}}|<!--
  -->{{col sep}} style="vertical-align: top; padding:0.2em 0.5em;" {{!}} '''Last Version'''<!--
  -->{{col sep}} {{{version}}}{{#if:{{{update|}}}|&#160;({{{update}}})}}<!--
-->}}
|- style="border-bottom:1px solid #F0F0F0;"
| style="vertical-align: top; padding:0.2em 0.5em;" | '''Platform''' || {{{platform}}}
|- style="border-bottom:1px solid #F0F0F0;"
| style="vertical-align: top; padding:0.2em 0.5em;" | '''License''' || {{{license}}}
|- style="border-bottom:1px solid #F0F0F0;"
| style="vertical-align: top; padding:0.2em 0.5em;" | '''Download''' || {{{download}}}
|- style="border-bottom:1px solid #F0F0F0;"
|}


Temporärer Bastelplatz.
Temporärer Bastelplatz.
Zeile 45: Zeile 23:
* Download / optional
* Download / optional


<br style="clear:both" />
{{ProjektInfoBox
|name        =
|status      = beta
|description = This box tests the beta state, tests autosetting of the name parameter and omits some optional parameters.
|author      = Hansinator
|version    = 1.0
|platform    =
|license    =
|download    =
}}


<br style="clear:both" />
{{ProjektInfoBox
|name        = StatusParamTest
|status      = experimental
|description = This box tests the experimental state. It also omits some of the optional parameters, to test if that works.
|author      = Hansinator
|version    =
|platform    =
|license    = none
|download    =
}}
<br style="clear:both" />
{{ProjektInfoBox
|name        = StatusParamTest
|status      =
|description = This box tests an unset project status to show how the box behaves and looks like for unknown states. It also omits some of the optional parameters, to test if that works.
|author      = Hansinator
|version    =
|platform    =
|license    =
|download    = none
}}
<br style="clear:both" />
<pre>Status switch:
<pre>Status switch:
<nowiki>
<nowiki>

Version vom 30. Juni 2009, 16:45 Uhr

         
StableTest

Release status: stable [box doku]

Description This is a test project info box with all parameters filled in and the release status set to stable.
Author(s)  Hansinator
Last Version  1.0 ()
Platform  Mediawiki
License  none
Download  none




Temporärer Bastelplatz.


Projektebox:

  • Header -> Project name
  • Release status
  • Description
  • Author(s)
  • Version / optional
  • Platform / optional
  • License / optional
  • Download / optional


   
Hansinator/temp

Release status: beta [box doku]

Description This box tests the beta state, tests autosetting of the name parameter and omits some optional parameters.
Author(s)  Hansinator
Last Version  1.0 ()



Warnung: Der Anzeigetitel „“ überschreibt den früheren Anzeigetitel „StableTest“.



   
StatusParamTest

Release status: experimental [box doku]

Description This box tests the experimental state. It also omits some of the optional parameters, to test if that works.
Author(s)  Hansinator
License  none



Warnung: Der Anzeigetitel „StatusParamTest“ überschreibt den früheren Anzeigetitel „“.



   
StatusParamTest

Release status: unknown [box doku]

Description This box tests an unset project status to show how the box behaves and looks like for unknown states. It also omits some of the optional parameters, to test if that works.
Author(s)  Hansinator
Download  none





Status switch:

{{#switch: {{lc: {{{status|unknown}}}<!-- -->}}|<!--
   -->unstable|experimental|beta|stable={{{status}}}|<!--
   -->unknown<!--
-->}}
Username / Author (if username is given, make wikilink, else give author name...)

<!--
-->{{#if:{{{author|{{{username|}}}<!-- -->}}}|<!--
   -->{{col sep}} style="vertical-align: top" {{!}} [[Template:Extension#username|'''Author(s)''']]<!--
   -->{{col sep}} {{#if: {{{username|}}} |<!--
      -->{{#ifeq: {{{username}}}|{{{author|{{{username}}}<!-- -->}}}|<!--
         nothing
      -->|<!--else--><!--
         -->{{{author}}} (<!--
      -->}}<!--
      -->[[User:{{{username}}}|{{{username}}}]]<!--
      --><sup><small>[[User talk:{{{username}}}|{{int:talkpagelinktext}}]]</small></sup><!--
      -->{{#ifeq: {{{username}}}|{{{author|{{{username}}}<!-- -->}}}|<!--
         nothing
      -->|<!--else--><!--
         -->)<!--
      -->}}<!--
   -->|<!--else--><!--
      -->{{{author}}}<!--
   -->}}<!--
-->}}

notes

http://people.mozilla.org/~bsterne/content-security-policy/