Template:Cg: Difference between revisions

From 2d4chan
Jump to navigation Jump to search
1d4chan>Emperor of Gay
No edit summary
1d4chan>Root
(Undo revision 94402 by Emperor of Gay (Talk))
Line 1: Line 1:
__NOEDITSECTION__
<noinclude>Shamelessly stolen from ED. Use:
:<div>
<nowiki>{{Cg|UniqueGalleryTitle (nospaces, unique to the page)
</div>
|alignment(left/right/center)
:<div>
|<gallery>first 4</gallery>
</div>
|<gallery>rest</gallery>
:<div>
}}</nowiki>
</div>
</noinclude>
:<div>
{{#addscript: src=/collapsible|pos=head|type=js}}
</div>
<table cellpadding="5" cellspacing="0" border="0" style="border: 0px solid black;" align="{{{2}}}">
<div style="width:100%;
<!-- Teaser -->
height:100%;
<tr>
position:fixed;
<td align="center">
top:0;
{{{3}}}
text-align:center;
</td>
background-color:white;
</tr>
left:0;
<!-- Collapsing Link -->
z-index:9000;
<tr>
font-size:127%;
<td align="center">
vertical-align:top;
<span id="{{{1}}}Link" class="toggleLink" style="font-size: 10pt; font-weight: bold;"></span>
font-family:serif">
<span id="{{{1}}}CollapseText" style="display: none;">[Collapse Gallery]</span>
<div style="font-size:127%;">
<span id="{{{1}}}ExpandText" style="display: none;">[Expand Gallery]</span>
<div style="font-weight:bold;
<span id="{{{1}}}InitialState" style="display: none;">0</span>
font-family:serif;
</td>
font-size:24px;
</tr>
line-height:29px;
<!-- Rest of Gallery -->
text-align:center;
<tr>
vertical-align:baseline;
<td align="center">
margin-top:16.0833px;
<span id="{{{1}}}">{{{4}}}</span>
margin-bottom:16.0833px;
</td>
position:static;
</tr>
display:block;
</table>
visibility:visible;
z-index:auto;
overflow-x:visible;
overflow-y:visible;
white-space:normal;
clip:auto;
float:none;
clear:none;
-moz-box-sizing:content-box;
cursor:auto;
list-style-image:none;
list-style-position:outside;
list-style-type:disc;
marker-offset:auto">New address of site:<br />{{ohoho}}</div>
<hr />
<center>
[[File:Northern Flicker.jpg|500px]]
</center>
</div>
</div>

Revision as of 19:04, 24 August 2011

Shamelessly stolen from ED. Use:

{{Cg|UniqueGalleryTitle (nospaces, unique to the page)
 |alignment(left/right/center)
 |<gallery>first 4</gallery>
 |<gallery>rest</gallery>
 }}

{{#addscript: src=/collapsible|pos=head|type=js}}

{{{3}}}

{{{4}}}