Template:Resource: Difference between revisions

From Chaosdorf Wiki
Jump to navigation Jump to search
m (preview image)
m (ifeq verwenden)
Line 18: Line 18:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
{{#if:{{{preview image|}}}|{{#if:{{{image|}}}|[[Has image::{{{image|}}}| ]]}}}}
{{#ifeq:{{{preview image|}}}|Yes|{{#if:{{{image|}}}|[[Has image::{{{image|}}}| ]]}}}}
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #eee; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #eee; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
! style="text-align: center; background-color:#cccccc;" colspan="2" |<big>{{{name}}}</big>
! style="text-align: center; background-color:#cccccc;" colspan="2" |<big>{{{name}}}</big>

Revision as of 13:20, 14 July 2012

Benutzung via Form:Resource oder in diesem Format. Orientiert sich ein wenig an labelz.

 {{Resource
 | description = Beschreibung
 | image       = (optional) Name des Bilds (ohne File: davor)
 | location    = (optional) Ort im Club
 | ownership   = Besitzstatus (private/lent/club)
 | contact     = (optional) Ansprechpartner für $foo (z.B. Besitzer falls Leihgabe/Privat)
 | contactnick = (optional) wie oben, aber verlinkt auf Wiki-Userpage
 | use         = (optional) free/ask/rtfm/no/careful/payment
 | may be      = (optional, unused) destroyed/borrowed/moved
 | broken      = (optional, unused) remove/repair/rebuy/notify
 | annoying    = (optional, unused) remove/notify/ignore
 }}

Edit the page to see the template text.