Template:Cg: Difference between revisions
Jump to navigation
Jump to search
1d4chan>Клизменный Командор No edit summary |
1d4chan>Root No edit summary |
||
Line 1: | Line 1: | ||
<noinclude>Shamelessly stolen from ED. Use: | |||
<nowiki>{{Cg|UniqueGalleryTitle (nospaces, unique to the page) | |||
|alignment(left/right/center) | |||
|<gallery>first 4</gallery> | |||
|<gallery>rest</gallery> | |||
</ | }}</nowiki> | ||
</noinclude> | |||
</ | {{#addscript: src=/collapsible|pos=head|type=js}} | ||
<table cellpadding="5" cellspacing="0" border="0" style="border: 0px solid black;" align="{{{2}}}"> | |||
</ | <!-- Teaser --> | ||
< | <tr> | ||
<td align="center"> | |||
{{{3}}} | |||
</td> | |||
</tr> | |||
<!-- Collapsing Link --> | |||
<tr> | |||
<td align="center"> | |||
<span id="{{{1}}}Link" class="toggleLink" style="font-size: 10pt; font-weight: bold;"></span> | |||
<span id="{{{1}}}CollapseText" style="display: none;">[Collapse Gallery]</span> | |||
<span id="{{{1}}}ExpandText" style="display: none;">[Expand Gallery]</span> | |||
< | <span id="{{{1}}}InitialState" style="display: none;">0</span> | ||
< | </td> | ||
font- | </tr> | ||
<!-- Rest of Gallery --> | |||
<tr> | |||
<td align="center"> | |||
<span id="{{{1}}}">{{{4}}}</span> | |||
</td> | |||
</tr> | |||
</table> | |||
display | |||
</ | |||
</ | |||
</ |
Revision as of 06:48, 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}}} |