Template:Cg: Difference between revisions

From 2d4chan
Jump to navigation Jump to search
1d4chan>Root
(New page: {{#addscript: src=/collapsible|pos=head|type=js}} <noinclude>Shamelessly stolen from ED.</noinclude> <table cellpadding="5" cellspacing="0" border="0" style="border: 1px solid black;" ali...)
 
m (13 revisions imported)
 
(12 intermediate revisions by 6 users not shown)
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}}
{{#addscript: src=/collapsible|pos=head|type=js}}
<noinclude>Shamelessly stolen from ED.</noinclude>
<table cellpadding="5" cellspacing="0" border="0" style="border: 0px solid black;" align="{{{2}}}">
 
<table cellpadding="5" cellspacing="0" border="0" style="border: 1px solid black;" align="{{{3}}}">
 
<!-- Header -->
<tr>
<td align="left" style="background-color: black; color: white; font-size: 14pt;">{{{1}}}</td>
</tr>
 
<!-- Teaser -->
<!-- Teaser -->
<tr>
<tr>
<td align="center">
<td align="center">
{{{4}}}
{{{3}}}
</td>
</td>
</tr>
</tr>
<!-- Collapsing Link -->
<!-- Collapsing Link -->
<tr>
<tr>
<td align="right">
<td align="center">
 
<span id="{{{1}}}Link" class="toggleLink" style="font-size: 10pt; font-weight: bold;"></span>
<span id="{{{2}}}Link" class="toggleLink" style="font-size: 10pt; font-weight: bold;"></span>
<span id="{{{1}}}CollapseText" style="display: none;">[Collapse Gallery]</span>
<span id="{{{2}}}CollapseText" style="display: none;">[Collapse Gallery]</span>
<span id="{{{1}}}ExpandText" style="display: none;">[Expand Gallery]</span>
<span id="{{{2}}}ExpandText" style="display: none;">[Expand Gallery]</span>
<span id="{{{1}}}InitialState" style="display: none;">0</span>
<span id="{{{2}}}InitialState" style="display: none;">0</span>
 
</td>
</td>
</tr>
</tr>
<!-- Rest of Gallery -->
<!-- Rest of Gallery -->
<tr>
<tr>
<td align="center">
<td align="center">
 
<span id="{{{1}}}">{{{4}}}</span>
<span id="{{{2}}}">{{{5}}}</span>
 
</td>
</td>
</tr>
</tr>
</table>
</table>

Latest revision as of 13:10, 24 June 2023

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}}}