Templat:Cartella

Dari In-Christ Wiki, Wiki Kristen Indonesia
(Perbedaan antar revisi)
Langsung ke: navigasi, cari
k
k (Melindungi "Templat:Cartella" ([edit=sysop] (selamanya) [move=sysop] (selamanya)))
 
(17 revisi antara tak ditampilkan.)
Baris 1: Baris 1:
-
<includeonly>{| style="margin-bottom:.5em; font-size:95%; text-align:left; padding:-2px; background:none" cellpadding="0" cellspacing="0"
+
{| style="margin-bottom:.5em; font-size:95%; text-align:left; padding:-2px; background:none" cellpadding="0" cellspacing="0"
<!-- 1 -->
<!-- 1 -->
-
| rowspan="2" width="1%" style="background:#FFF; border:2px solid #{{switch|{{{1|}}}|
+
| rowspan="2" width="1%" style="background:#FFF; border:2px solid #ABCDEF; border-bottom:0; padding-right:1em; -moz-border-radius-topright:5em" | [[Berkas:cartella blu.jpg|link=Halaman Utama]] <div style="font-size:130%; margin-top:-33px; padding-left:43px"> '''{{{judul}}}'''</div><div style="font-size:130%; margin-top:-16px; padding-left:12px"> [[Berkas:{{{logo|Nuvola apps date.png}}}|22px|link=Halaman Utama]]</div>
-
case: blu=ABCDEF|case: grigio=CCC|case: verde=A3BFB1|case: viola=C2D3FC|
+
-
case: arancione=FFBC79|case: rosso=F26C6C|default=ABCDEF|
+
-
}}; border-bottom:0; padding-right:1em; -moz-border-radius-topright:5em" | [[Image:cartella_{{switch|{{{1|}}}|
+
-
case: blu=blu|case: grigio=grigia|case: verde=verde|case: viola=viola|
+
-
case: arancione=arancione|case: rosso=rossa|default=blu|
+
-
}}.jpg]] <div style="font-size:130%; margin-top:-33px; padding-left:43px"> '''{{{judul}}}'''</div><div style="font-size:130%; margin-top:-16px; padding-left:12px"> [[Image:{{{logo|Nuvola apps date-20px.png}}}|{{{px|22}}}px]]</div>  
+
<!-- 2 -->
<!-- 2 -->
| colspan="2" height="10px" |
| colspan="2" height="10px" |
|-
|-
<!-- 6 -->
<!-- 6 -->
-
| style="width:15%; -moz-border-radius-topright:5em; border:1px solid #{{switch|{{{1|}}}|
+
| style="width:15%; -moz-border-radius-topright:5em; border:1px solid #ABCDEF; border-left:0; background:#ECF5FF; border-bottom:2px solid #ABCDEF; text-align:center; font-size:85%" |<small class="editlink noprint plainlinksneverexpand" >[http://www.in-christ.net/w/index.php?title={{{link|{{PAGENAME}}}}}&action=edit sunting]</small>
-
case: blu=ABCDEF|case: grigio=CCC|case: verde=A3BFB1|case: viola=C2D3FC|
+
-
case: arancione=FFBC79|case: rosso=F26C6C|default=ABCDEF|
+
-
}}; border-left:0; background:#{{switch|{{{1|}}}|
+
-
case: blu=ECF5FF|case: grigio=E0E0E0|case: verde=CEF2E0|case: viola=EAEAFF|
+
-
case: arancione=FFE9D2|case: rosso=FFD1D1|default=ECF5FF|
+
-
}}; border-bottom:2px solid #{{switch|{{{1|}}}|
+
-
case: blu=ABCDEF|case: grigio=CCC|case: verde=A3BFB1|case: viola=C2D3FC|
+
-
case: arancione=FFBC79|case: rosso=F26C6C|default=ABCDEF|
+
-
}}; text-align:center; font-size:85%" |<small class="editlink noprint plainlinksneverexpand" >[{{SERVER}}{{localurl:{{{link}}}|action=edit}} sunting]</small>
+
<!-- 7 -->
<!-- 7 -->
-
| style="border-bottom:2px solid #{{switch|{{{1|}}}|
+
| style="border-bottom:2px solid #ABCDEF" | &nbsp;&nbsp;&nbsp;
-
case: blu=ABCDEF|case: grigio=CCC|case: verde=A3BFB1|case: viola=C2D3FC|
+
-
case: arancione=FFBC79|case: rosso=F26C6C|default=ABCDEF|
+
-
}}" | &nbsp;&nbsp;&nbsp;
+
|-
|-
<!-- 10 -->
<!-- 10 -->
-
| colspan="3" style="padding:4px; background:#FFF; border:2px solid #{{switch|{{{1|}}}|
+
| colspan="3" style="padding:4px; background:#FFF; border:2px solid #ABCDEF; border-top:0; border-bottom:0" width="50%" valign="top" |  
-
case: blu=ABCDEF|case: grigio=CCC|case: verde=A3BFB1|case: viola=C2D3FC|
+
-
case: arancione=FFBC79|case: rosso=F26C6C|default=ABCDEF|
+
-
}}; border-top:0; border-bottom:0" width="50%" valign="top" |  
+
{{{isi}}}   
{{{isi}}}   
|-
|-
<!-- 12 -->
<!-- 12 -->
-
| colspan="3" | <div style="-moz-border-radius-bottomright:1em; -moz-border-radius-bottomleft:1em; background:#{{switch|{{{1|}}}|
+
| colspan="3" | <div style="-moz-border-radius-bottomright:1em; -moz-border-radius-bottomleft:1em; background:#FFE9D2; height:10px; border:1px solid #FFBC79; border-right:2px solid #FFBC79; border-left:2px solid #FFBC79">
-
case: blu=ECF5FF|case: grigio=E0E0E0|case: verde=CEF2E0|case: viola=EAEAFF|
+
-
case: arancione=FFE9D2|case: rosso=FFD1D1|default=FFE9D2|
+
-
}}; height:10px; border:1px solid #{{switch|{{{1|}}}|
+
-
case: blu=ABCDEF|case: grigio=CCC|case: verde=A3BFB1|case: viola=C2D3FC|
+
-
case: arancione=FFBC79|case: rosso=F26C6C|default=FFBC79|
+
-
}}; border-right:2px solid #{{switch|{{{1|}}}|
+
-
case: blu=ABCDEF|case: grigio=CCC|case: verde=A3BFB1|case: viola=C2D3FC|
+
-
case: arancione=FFBC79|case: rosso=F26C6C|default=FFBC79|
+
-
}}; border-left:2px solid #{{switch|{{{1|}}}|
+
-
case: blu=ABCDEF|case: grigio=CCC|case: verde=A3BFB1|case: viola=C2D3FC|
+
-
case: arancione=FFBC79|case: rosso=F26C6C|default=FFBC79|
+
-
}}">
+
</div>
</div>
|}</includeonly><noinclude>
|}</includeonly><noinclude>
-
==Cara penggunaan==
+
== Parameter ==
<div style="width: 20em; padding:0.5em 1em; border: 1px dotted gray; background: #EFE; font-size:90%">  
<div style="width: 20em; padding:0.5em 1em; border: 1px dotted gray; background: #EFE; font-size:90%">  
<tt>'''<nowiki>{{cartella</nowiki>'''</tt><br />
<tt>'''<nowiki>{{cartella</nowiki>'''</tt><br />
<tt>'''|judul='''</tt><br />
<tt>'''|judul='''</tt><br />
 +
<tt>'''|isi='''</tt><br />
 +
<tt>'''|link='''</tt><br />
<tt>'''|logo='''</tt><br />
<tt>'''|logo='''</tt><br />
-
<tt>'''|px='''</tt><br />
 
-
<tt>'''|link='''</tt><br />
 
-
<tt>'''|isi='''</tt><br />
 
<tt>'''<nowiki>}}</nowiki>'''</tt></div>
<tt>'''<nowiki>}}</nowiki>'''</tt></div>
-
Warna tersedia: rancion, blu, grigio, verdo, viola, róso e, dengan defaut, blu/rancion.
+
== Contoh hasil ==
-
----
+
<nowiki>{{cartella|judul=judul|isi=Lorem ipsum|link=Templat:Cartella}}</nowiki> menghasilkan:<br />
-
{|style="background:none" width="100%" cellspacing="8" cellpadding="0"
+
{{cartella|judul=judul|isi=Lorem ipsum|link=Templat:Cartella}}
-
|-
+
 
-
|width="33%"|{{cartella|arancione|judul=judul|logo=Nuvola_apps_date.png|contenuto=<nowiki>{{cartella | arancione}}</nowiki>}}
+
-
|width="33%"|{{cartella|blu|judul=judul|logo=Nuvola_apps_date.png|contenuto=<nowiki>{{cartella | blu}}</nowiki>}}
+
-
|width="33%"|{{cartella|grigio|judul=judul|logo=Nuvola_apps_date.png|contenuto=<nowiki>{{cartella | grigio}}</nowiki>}}
+
-
|-
+
-
|width="33%"|{{cartella|verde|judul=judul|logo=Nuvola_apps_date.png|contenuto=<nowiki>{{cartella | verde}}</nowiki>}}
+
-
|width="33%"|{{cartella|viola|judul=judul|logo=Nuvola_apps_date.png|contenuto=<nowiki>{{cartella | viola}}</nowiki>}}
+
-
|width="33%"|{{cartella|rosso|judul=judul|logo=Nuvola_apps_date.png|contenuto=<nowiki>{{cartella | rosso}}</nowiki>}}
+
-
|-
+
-
|width="33%"|{{cartella|judul=judul|logo=Nuvola_apps_date.png|contenuto=<nowiki>{{cartella}}</nowiki>}}
+
-
|}
+
[[Kategori:Templat|{{PAGENAME}}]]
[[Kategori:Templat|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revisi terkini pada 08:04, 21 November 2011

Cartella blu.jpg
{{{judul}}}
Nuvola apps date.png
sunting    

{{{isi}}}

</includeonly>

Parameter

{{cartella
|judul=
|isi=
|link=
|logo=

}}

Contoh hasil

{{cartella|judul=judul|isi=Lorem ipsum|link=Templat:Cartella}} menghasilkan:

Cartella blu.jpg
judul
Nuvola apps date.png
sunting    

Lorem ipsum

Peralatan pribadi