Registration has been disabled and the moderation extension has been turned off.
Contact an admin on Discord or EDF if you want an account. Also fuck bots.

ED:Collapsing Objects: Difference between revisions

From Encyclopedia Dramatica
Jump to navigation Jump to search
imported>OhSoSimple
restoration, needs cleaning
 
imported>OhSoSimple
code cleanup should be mostly done for this page
Line 2: Line 2:
ED is using a new Collapsing Objects code.  You will see some familiar concepts, but the syntax and end results have been changed around a great deal.  Just like before, you can either write the code yourself (much easier than version 1) or use a template.
ED is using a new Collapsing Objects code.  You will see some familiar concepts, but the syntax and end results have been changed around a great deal.  Just like before, you can either write the code yourself (much easier than version 1) or use a template.
</p>
</p>
<a name="Writing_the_Code" id="Writing_the_Code"></a><h2> <span class="mw-headline">Writing the Code</span></h2>
==Writing the Code==
<p>In the previous version of the code, there was a one-to-one ratio between links and collapsing content.  This new release allows for greater flexibility in four different ratios.
<p>In the previous version of the code, there was a one-to-one ratio between links and collapsing content.  This new release allows for greater flexibility in four different ratios.
</p><p>You pass information to the script using the class tag of the container that will hold the link.  Arguments are separated by semicolons and the ordering is mandatory.  For instance:
</p><p>You pass information to the script using the class tag of the container that will hold the link.  Arguments are separated by semicolons and the ordering is mandatory.  For instance:
Line 11: Line 11:
</pre>
</pre>
<dl><dd><b>co</b> - This designates a collapsing object.  It is mandatory and case sensitive.
<dl><dd><b>co</b> - This designates a collapsing object.  It is mandatory and case sensitive.
</dd><dd><b>ctext</b> - This is the collapsing link text.  It can contain any special characters or spaces except a semicolon.
<dd><b>ctext</b> - This is the collapsing link text.  It can contain any special characters or spaces except a semicolon.
</dd><dd><b>etext</b> - This is the expanding link text.  It can contain any special characters or spaces except a semicolon.
<dd><b>etext</b> - This is the expanding link text.  It can contain any special characters or spaces except a semicolon.
</dd><dd><b>state</b> - This is the initial state.  0 is collapsed; 1 is expanded.  God help you if you put a 2.
<dd><b>state</b> - This is the initial state.  0 is collapsed; 1 is expanded.  God help you if you put a 2.
</dd><dd><b>classname</b> - The target class of this link.  See the following sections for an explanation.
<dd><b>classname</b> - The target class of this link.  See the following sections for an explanation.
</dd><dd><b>linkcolor</b> - Optional parameter that lets you customize the link's color.  Don't include the preceeding semicolon if you're not changing the color.
<dd><b>linkcolor</b> - Optional parameter that lets you customize the link's color.  Don't include the preceeding semicolon if you're not changing the color.


</dd></dl>
</dl>
<p>You mark the target object(s) by setting the class equal to <b>classname</b>. For example:
<p>You mark the target object(s) by setting the class equal to <b>classname</b>. For example:
</p>
</p>
Line 23: Line 23:
&lt;div class=&quot;classname&quot;&gt;Content!&lt;/div&gt;
&lt;div class=&quot;classname&quot;&gt;Content!&lt;/div&gt;
</pre>
</pre>
<a name="One-to-One" id="One-to-One"></a><h3> <span class="mw-headline">One-to-One</span></h3>
===One-to-One===
<p>This is the standard one link to one content region relationship.
<p>This is the standard one link to one content region relationship.
</p><p>Example:
</p><p>Example:
Line 35: Line 35:
&lt;span class=&quot;test1&quot;&gt;What's up?&lt;/span&gt;
&lt;span class=&quot;test1&quot;&gt;What's up?&lt;/span&gt;
</pre>
</pre>
<a name="One-to-Many" id="One-to-Many"></a><h3> <span class="mw-headline">One-to-Many</span></h3>
===One-to-Many===


<p>This is one link to multiple content regions.
<p>This is one link to multiple content regions.
Line 49: Line 49:
&lt;span class=&quot;test2&quot;&gt;What's up?&lt;/span&gt;
&lt;span class=&quot;test2&quot;&gt;What's up?&lt;/span&gt;
</pre>
</pre>
<a name="Many-to-One" id="Many-to-One"></a><h3> <span class="mw-headline">Many-to-One</span></h3>
===Many-to-One===
<p>This is multiple links to one content region.
<p>This is multiple links to one content region.
</p><p>Example:
</p><p>Example:
Line 63: Line 63:
&lt;span class=&quot;co;[Collapse];[Expand];0;test3&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;co;[Collapse];[Expand];0;test3&quot;&gt;&lt;/span&gt;
</pre>
</pre>
<a name="Many-to-Many" id="Many-to-Many"></a><h3> <span class="mw-headline">Many-to-Many</span></h3>
===Many-to-Many===
 
<p>This is multiple links to multiple content regions.
<p>This is multiple links to multiple content regions.
</p><p>Example:
</p><p>Example:
Line 79: Line 78:
&lt;span class=&quot;co;[Collapse];[Expand];0;test4&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;co;[Collapse];[Expand];0;test4&quot;&gt;&lt;/span&gt;
</pre>
</pre>
<a name="Changing_Link_Color" id="Changing_Link_Color"></a><h3> <span class="mw-headline">Changing Link Color</span></h3>
===Changing Link Color===
<p>This collapsing link is red.
<p>This collapsing link is red.
</p><p>Example:
</p><p>Example:
Line 89: Line 88:
&lt;span class=&quot;co;[Collapse];[Expand];0;test5;red&quot;&gt;&lt;/span&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;span class=&quot;test5&quot;&gt;My link is red.&lt;/span&gt;
&lt;span class=&quot;co;[Collapse];[Expand];0;test5;red&quot;&gt;&lt;/span&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;span class=&quot;test5&quot;&gt;My link is red.&lt;/span&gt;
</pre>
</pre>
<a name="Using_Templates" id="Using_Templates"></a><h2> <span class="mw-headline">Using Templates</span></h2>
==Using Templates==


<p>The templates require you to specify a target class name.  This allows you to extend the functionality of each template by adding more links or content regions to suit your need.  A target class name must be unique to the page and contain no spaces.
<p>The templates require you to specify a target class name.  This allows you to extend the functionality of each template by adding more links or content regions to suit your need.  A target class name must be unique to the page and contain no spaces.
</p>
</p>
<a name=".7FUNIQ386dec0573cc59c4-nowiki-00000007-QINU.7Fco.7FUNIQ386dec0573cc59c4-nowiki-00000008-QINU.7F:_Object" id=".7FUNIQ386dec0573cc59c4-nowiki-00000007-QINU.7Fco.7FUNIQ386dec0573cc59c4-nowiki-00000008-QINU.7F:_Object"></a><h3> <span class="mw-headline"><a href="/Template:Co" title="Template:Co">{{co}}</a>: Object</span></h3>
===[[Template:Co|<nowiki>{{co}}</nowiki>]]: Object===
<p>Generic collapsing object.  More or less the same as writing out the one-to-one code by hand.
<p>Generic collapsing object.  More or less the same as writing out the one-to-one code by hand.
</p>
</p>
Line 117: Line 116:
<p><br />
<p><br />
</p>
</p>
<a name=".7FUNIQ386dec0573cc59c4-nowiki-0000000B-QINU.7Fcs.7FUNIQ386dec0573cc59c4-nowiki-0000000C-QINU.7F:_Section" id=".7FUNIQ386dec0573cc59c4-nowiki-0000000B-QINU.7Fcs.7FUNIQ386dec0573cc59c4-nowiki-0000000C-QINU.7F:_Section"></a><h3> <span class="mw-headline"><a href="/Template:Cs" title="Template:Cs">{{cs}}</a>: Section</span></h3>
===[[Template:Cs|<nowiki>{{cs}}</nowiki>]]: Section===
<p>Level 2 collapsing section header.
<p>Level 2 collapsing section header.
</p>
</p>
Line 137: Line 136:
</p><p><br />
</p><p><br />
</p>
</p>
<a name="Test_Section_One" id="Test_Section_One"></a><h2> <span class="mw-headline"><span class="co;&#91;-];&#91;+];0;testSectionOne"></span>Test Section One</span></h2>
{{cs|testSectionOne|Test Section One|Here's some sample content under a large header.|0}}
<div class="testSectionOne">Here's some sample content under a large header.</div>
<div class="testSectionOne">Here's some sample content under a large header.</div>
<a name=".7FUNIQ386dec0573cc59c4-nowiki-0000000F-QINU.7Fcs2.7FUNIQ386dec0573cc59c4-nowiki-00000010-QINU.7F:_Subsection" id=".7FUNIQ386dec0573cc59c4-nowiki-0000000F-QINU.7Fcs2.7FUNIQ386dec0573cc59c4-nowiki-00000010-QINU.7F:_Subsection"></a><h3> <span class="mw-headline"><a href="/Template:Cs2" title="Template:Cs2">{{cs2}}</a>: Subsection</span></h3>
===[[Template:Cs2|<nowiki>{{cs2}}</nowiki>]]: Subsection===
<p>Level 3 collapsing section header.
<p>Level 3 collapsing section header.
</p>
</p>
Line 159: Line 158:
</p><p><br />
</p><p><br />
</p>
</p>
<a name="Test_Section_Two" id="Test_Section_Two"></a><h3> <span class="mw-headline"> <span class="co;&#91;-];&#91;+];0;testSectionTwo"></span> Test Section Two </span></h3>
{{cs2|testSectionTwo|Test Section Two|Here's some sample content under a small header.|0}}<div class="testSectionTwo">Here's some sample content under a small header.</div>
<div class="testSectionTwo">Here's some sample content under a small header.</div>


<a name=".7FUNIQ386dec0573cc59c4-nowiki-00000013-QINU.7Fcg.7FUNIQ386dec0573cc59c4-nowiki-00000014-QINU.7F:_Gallery" id=".7FUNIQ386dec0573cc59c4-nowiki-00000013-QINU.7Fcg.7FUNIQ386dec0573cc59c4-nowiki-00000014-QINU.7F:_Gallery"></a><h3> <span class="mw-headline"><a href="/Template:Cg" title="Template:Cg">{{cg}}</a>: Gallery</span></h3>
===[[Template:Cg|<nowiki>{{cg}}</nowiki>]]: Gallery===
<pre>
<pre>
{{cg|A|B|C|D|E}}
{{cg|A|B|C|D|E}}
Line 193: Line 191:
</p><p><br />
</p><p><br />
</p>
</p>
<table cellpadding="5" cellspacing="0" border="0" style="border: 1px solid black;" align="center">
{{cg|Galleria de Furfaggotry|furryGallery|center|<gallery>
 
Image:Sickfuckfurryhumor1.jpg|Typical furry's daily comic strip
 
Image:Lolanimalsex.jpg|Furries like sex with animals, as drawn by Arania
 
Image:Yiffinhellfurfag.jpg|Pro-yiffer propaganda disguised as harmless kiddie comics. WAKE UP AMERICA  
<tr>
Image:Judge Doom M 03.jpg|Scientists are currently thinking of ways to exterminate furfags.
<td align="left" style="background-color: black; color: white; font-size: 14pt;">Galleria de Furfaggotry</td>
</gallery>|<gallery>
</tr>
Image:Furrybarf.jpg|Neutered furry without spaceballs?
 
Image:Times Travelled.jpg
<tr>
Image:FurrySuck.jpg|Suck the furry's [[cock|rod]], [[bitch]]!
<td align="center"><table class="gallery" cellspacing="0" cellpadding="0">
Image:Wheregodfurry.jpg|Where is your [[God]] now?
<tr>
...
<td><div class="gallerybox" style="width: 155px;">
</gallery>}}<p><br />
 
<div class="thumb" style="padding: 13px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Sickfuckfurryhumor1.jpg" class="image" title="Sickfuckfurryhumor1.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/a/a8/Sickfuckfurryhumor1.jpg/85px-Sickfuckfurryhumor1.jpg" width="85" height="120" border="0" /></a></div></div>
<div class="gallerytext">
<p>Typical furry's daily comic strip
</p>
</div>
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 13px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Lolanimalsex.jpg" class="image" title="Lolanimalsex.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/f/fa/Lolanimalsex.jpg/113px-Lolanimalsex.jpg" width="113" height="120" border="0" /></a></div></div>
<div class="gallerytext">
<p>Furries like sex with animals, as drawn by <a href="/index.php?title=Arania&amp;action=edit&amp;redlink=1" class="new" title="Arania">Arania</a>
 
</p>
</div>
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 35px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Yiffinhellfurfag.jpg" class="image" title="Yiffinhellfurfag.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/4/4e/Yiffinhellfurfag.jpg/120px-Yiffinhellfurfag.jpg" width="120" height="75" border="0" /></a></div></div>
<div class="gallerytext">
<p>Pro-yiffer propaganda disguised as harmless kiddie comics. WAKE UP AMERICA
</p>
</div>
</div></td>
 
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 33px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Judge_Doom_M_03.jpg" class="image" title="Judge Doom M 03.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/2/2d/Judge_Doom_M_03.jpg/120px-Judge_Doom_M_03.jpg" width="120" height="80" border="0" /></a></div></div>
<div class="gallerytext">
<p>Scientists are currently thinking of ways to exterminate furfags.
</p>
</div>
</div></td>
</tr>
</table></td>
</tr>
 
<tr>
<td align="right"><span class="co;&#91;Collapse Gallery];&#91;Expand Gallery];0;furryGallery" style="font-size: 14pt; font-weight: bold;"></span></td>
</tr>
 
<tr>
<td align="center"><span class="furryGallery"><table class="gallery" cellspacing="0" cellpadding="0">
<tr>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 27px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Furrybarf.jpg" class="image" title="Furrybarf.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/1/1a/Furrybarf.jpg/120px-Furrybarf.jpg" width="120" height="91" border="0" /></a></div></div>
<div class="gallerytext">
<p>Neutered furry without spaceballs?
</p>
</div>
 
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 28px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Times_Travelled.jpg" class="image" title="Times Travelled.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/a/a1/Times_Travelled.jpg/120px-Times_Travelled.jpg" width="120" height="89" border="0" /></a></div></div>
<div class="gallerytext">
</div>
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 13px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:FurrySuck.jpg" class="image" title="FurrySuck.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/5/57/FurrySuck.jpg/62px-FurrySuck.jpg" width="62" height="119" border="0" /></a></div></div>
<div class="gallerytext">
 
<p>Suck the furry's <a href="/Cock" title="Cock">rod</a>, <a href="/Bitch" title="Bitch">bitch</a>!
</p>
</div>
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 26px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Wheregodfurry.jpg" class="image" title="Wheregodfurry.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/d/d5/Wheregodfurry.jpg/120px-Wheregodfurry.jpg" width="120" height="93" border="0" /></a></div></div>
<div class="gallerytext">
<p>Where is your <a href="/God" title="God">God</a> now?
 
</p>
</div>
</div></td>
</tr>
<tr>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 29px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Truth_furries.jpg" class="image" title="Truth furries.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/6/60/Truth_furries.jpg/120px-Truth_furries.jpg" width="120" height="88" border="0" /></a></div></div>
<div class="gallerytext">
<p>Truth about Furry art.
</p>
 
</div>
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 28px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Gorilla_lady.jpg" class="image" title="Gorilla lady.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/4/47/Gorilla_lady.jpg/120px-Gorilla_lady.jpg" width="120" height="90" border="0" /></a></div></div>
<div class="gallerytext">
<p>A <a href="/IRL" title="IRL">real</a> furry
</p>
</div>
 
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 13px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Monkeyhat.jpg" class="image" title="Monkeyhat.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/6/69/Monkeyhat.jpg/93px-Monkeyhat.jpg" width="93" height="119" border="0" /></a></div></div>
<div class="gallerytext">
<p>A furry in the making.
</p>
</div>
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 13px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Furry_couple.jpg" class="image" title="Furry couple.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/9/9e/Furry_couple.jpg/104px-Furry_couple.jpg" width="104" height="120" border="0" /></a></div></div>
 
<div class="gallerytext">
<p>OMG.
</p>
</div>
</div></td>
</tr>
<tr>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 27px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Furry_Holocaust.jpg" class="image" title="Furry Holocaust.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/b/b0/Furry_Holocaust.jpg/120px-Furry_Holocaust.jpg" width="120" height="92" border="0" /></a></div></div>
<div class="gallerytext">
 
<p>HAHAHAhuhaha &gt;=D!
</p>
</div>
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 29px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Doom_furry.jpg" class="image" title="Doom furry.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/6/6c/Doom_furry.jpg/120px-Doom_furry.jpg" width="120" height="88" border="0" /></a></div></div>
<div class="gallerytext">
<p>One suggested improvement to furry conventions
</p>
</div>
 
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 20px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:LAWL_FURRY.PNG" class="image" title="LAWL FURRY.PNG"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/b/b0/LAWL_FURRY.PNG/120px-LAWL_FURRY.PNG" width="120" height="105" border="0" /></a></div></div>
<div class="gallerytext">
<p><a href="/IRL" title="IRL">IRL</a>? <a href="/O_rly" title="O rly">O rly</a>?
</p>
</div>
</div></td>
 
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 13px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Furriesstupid.png" class="image" title="Furriesstupid.png"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/f/f1/Furriesstupid.png/90px-Furriesstupid.png" width="90" height="120" border="0" /></a></div></div>
<div class="gallerytext">
</div>
</div></td>
</tr>
<tr>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 16px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Totorostalk.gif" class="image" title="Totorostalk.gif"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/a/a9/Totorostalk.gif/120px-Totorostalk.gif" width="120" height="114" border="0" /></a></div></div>
 
<div class="gallerytext">
<p>A furry about to devour his next victim.
</p>
</div>
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 16px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Furriesno.png" class="image" title="Furriesno.png"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/4/47/Furriesno.png/120px-Furriesno.png" width="120" height="114" border="0" /></a></div></div>
<div class="gallerytext">
<p><a href="/Lol_wut" title="Lol wut" class="mw-redirect">Lol wut</a>?
</p>
 
</div>
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 13px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Furicide.jpg" class="image" title="Furicide.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/3/3f/Furicide.jpg/85px-Furicide.jpg" width="85" height="119" border="0" /></a></div></div>
<div class="gallerytext">
<p>c'mon u can do it its just 1 click and ur <a href="/An_hero" title="An hero">an hero</a>
</p>
</div>
</div></td>
 
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 13px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Furriestrue.png" class="image" title="Furriestrue.png"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/e/e1/Furriestrue.png/80px-Furriestrue.png" width="80" height="120" border="0" /></a></div></div>
<div class="gallerytext">
<p><a href="/Jailhouse_gay" title="Jailhouse gay" class="mw-redirect">Jailhouse gay</a> furfags wish this actually happened, ever
</p>
</div>
</div></td>
</tr>
<tr>
 
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 17px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:CalvinFUFurry.jpg" class="image" title="CalvinFUFurry.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/0/08/CalvinFUFurry.jpg/120px-CalvinFUFurry.jpg" width="120" height="111" border="0" /></a></div></div>
<div class="gallerytext">
<p>Calvin knows the score
</p>
</div>
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 48px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Sigh1.gif" class="image" title="Sigh1.gif"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/7/70/Sigh1.gif/120px-Sigh1.gif" width="120" height="50" border="0" /></a></div></div>
<div class="gallerytext">
 
<p>Mom...Dad...I'm furry...
</p>
</div>
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 28px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Depraved_furry_scum.jpg" class="image" title="Depraved furry scum.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/0/05/Depraved_furry_scum.jpg/120px-Depraved_furry_scum.jpg" width="120" height="90" border="0" /></a></div></div>
<div class="gallerytext">
<p>This is your brain on lonely
</p>
</div>
</div></td>
 
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 13px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Furry_horror.jpg" class="image" title="Furry horror.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/1/14/Furry_horror.jpg/91px-Furry_horror.jpg" width="91" height="120" border="0" /></a></div></div>
<div class="gallerytext">
<p>No fetish is too fucked up for furfags.
</p>
</div>
</div></td>
</tr>
<tr>
<td><div class="gallerybox" style="width: 155px;">
 
<div class="thumb" style="padding: 28px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Furrygenderchange.jpg" class="image" title="Furrygenderchange.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/9/97/Furrygenderchange.jpg/120px-Furrygenderchange.jpg" width="120" height="90" border="0" /></a></div></div>
<div class="gallerytext">
<p>Furry gender reallocation success.
</p>
</div>
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 53px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Furry19thcentury.jpg" class="image" title="Furry19thcentury.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/4/4b/Furry19thcentury.jpg/120px-Furry19thcentury.jpg" width="120" height="39" border="0" /></a></div></div>
<div class="gallerytext">
<p>Believe it or not, the situation used to be worse
 
</p>
</div>
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 13px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:I_love_furries.jpg" class="image" title="I love furries.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/4/44/I_love_furries.jpg/110px-I_love_furries.jpg" width="110" height="120" border="0" /></a></div></div>
<div class="gallerytext">
<p>Surprising.
</p>
</div>
</div></td>
 
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 33px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Furrychildren.jpg" class="image" title="Furrychildren.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/3/3e/Furrychildren.jpg/120px-Furrychildren.jpg" width="120" height="80" border="0" /></a></div></div>
<div class="gallerytext">
<p>Pity a furry's spawn
</p>
</div>
</div></td>
</tr>
<tr>
<td><div class="gallerybox" style="width: 155px;">
 
<div class="thumb" style="padding: 28px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Interspecies_romance.jpg" class="image" title="Interspecies romance.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/0/09/Interspecies_romance.jpg/120px-Interspecies_romance.jpg" width="120" height="90" border="0" /></a></div></div>
<div class="gallerytext">
<p>Moar interspecies romance: simian gets some <a href="/Pussy" title="Pussy">pussy</a>!
</p>
</div>
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 13px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:BDT%27s_Fursuit.jpg" class="image" title="BDT&#39;s Fursuit.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/5/5a/BDT%27s_Fursuit.jpg/88px-BDT%27s_Fursuit.jpg" width="88" height="120" border="0" /></a></div></div>
 
<div class="gallerytext">
<p><a href="/User:Brother_Dave_Thompson" title="User:Brother Dave Thompson">Brother Dave Thompson</a> spent <strike><a href="/Over_9000" title="Over 9000">over 9000</a> dollars</strike> a small fortune creating this spectacular fursuit.
</p>
</div>
</div></td>
<td><div class="gallerybox" style="width: 155px;">
 
<div class="thumb" style="padding: 36px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Mymistake.JPG" class="image" title="Mymistake.JPG"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/a/a3/Mymistake.JPG/120px-Mymistake.JPG" width="120" height="73" border="0" /></a></div></div>
<div class="gallerytext">
<p>Air Canada is run by furries.
</p>
</div>
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 13px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Bb5d9d4783139d25b6c9e0048cc2d410.png" class="image" title="Bb5d9d4783139d25b6c9e0048cc2d410.png"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/4/4b/Bb5d9d4783139d25b6c9e0048cc2d410.png/100px-Bb5d9d4783139d25b6c9e0048cc2d410.png" width="100" height="120" border="0" /></a></div></div>
<div class="gallerytext">
<p>Uh, out of your <i>urethra</i>, <a href="/Retard" title="Retard">dipshit</a>? Why would someone draw this?
 
</p>
</div>
</div></td>
</tr>
<tr>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 30px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Animalshumping3.jpg" class="image" title="Animalshumping3.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/f/f7/Animalshumping3.jpg/120px-Animalshumping3.jpg" width="120" height="85" border="0" /></a></div></div>
<div class="gallerytext">
<p>Kids nowadays....what will they do next?
</p>
 
</div>
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 28px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Furrydickshock.jpg" class="image" title="Furrydickshock.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/0/0c/Furrydickshock.jpg/120px-Furrydickshock.jpg" width="120" height="89" border="0" /></a></div></div>
<div class="gallerytext">
<p>typical furry mating ritual
</p>
</div>
</div></td>
<td><div class="gallerybox" style="width: 155px;">
 
<div class="thumb" style="padding: 28px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:47-hates-furries.jpg" class="image" title="47-hates-furries.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/9/97/47-hates-furries.jpg/120px-47-hates-furries.jpg" width="120" height="90" border="0" /></a></div></div>
<div class="gallerytext">
<p>What to do if you see a furry
</p>
</div>
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 13px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Circleoflifeincest.jpg" class="image" title="Circleoflifeincest.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/b/b0/Circleoflifeincest.jpg/109px-Circleoflifeincest.jpg" width="109" height="120" border="0" /></a></div></div>
<div class="gallerytext">
<p>A Typical heart warming furry tale.
 
</p>
</div>
</div></td>
</tr>
<tr>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 13px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Cubpr0nisgood4u.png" class="image" title="Cubpr0nisgood4u.png"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/e/ec/Cubpr0nisgood4u.png/90px-Cubpr0nisgood4u.png" width="90" height="120" border="0" /></a></div></div>
<div class="gallerytext">
<p>Furries believe <a href="/Pedophilia" title="Pedophilia">cub pr0n</a> is <a href="/Baby_fuck" title="Baby fuck" class="mw-redirect">awwwwwiiiggghtt</a>.
 
</p>
</div>
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 26px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Furrysickfuckballplay.jpg" class="image" title="Furrysickfuckballplay.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/2/26/Furrysickfuckballplay.jpg/120px-Furrysickfuckballplay.jpg" width="120" height="93" border="0" /></a></div></div>
<div class="gallerytext">
<p>Coyote:Okay horse! I want you to run as fast as you can while we have our <a href="/Testicles" title="Testicles" class="mw-redirect">testicles</a> tethered together with this rope.
</p>
</div>
 
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 13px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Eyurin.jpg" class="image" title="Eyurin.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/7/7e/Eyurin.jpg/81px-Eyurin.jpg" width="81" height="120" border="0" /></a></div></div>
<div class="gallerytext">
<p>You gonna get <a href="/Rape" title="Rape">raped</a>.
</p>
</div>
</div></td>
<td><div class="gallerybox" style="width: 155px;">
 
<div class="thumb" style="padding: 13px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Reckoning.jpg" class="image" title="Reckoning.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/9/97/Reckoning.jpg/91px-Reckoning.jpg" width="91" height="120" border="0" /></a></div></div>
<div class="gallerytext">
<p>A day that's coming soon.
</p>
</div>
</div></td>
</tr>
<tr>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 28px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:FSS_Main.gif" class="image" title="FSS Main.gif"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/b/b5/FSS_Main.gif/120px-FSS_Main.gif" width="120" height="90" border="0" /></a></div></div>
 
<div class="gallerytext">
<p>The Truth about furfags
</p>
</div>
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 13px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:NAKEDANTHROPRIDE.PNG" class="image" title="NAKEDANTHROPRIDE.PNG"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/5/53/NAKEDANTHROPRIDE.PNG/117px-NAKEDANTHROPRIDE.PNG" width="117" height="120" border="0" /></a></div></div>
<div class="gallerytext">
<p>How babies are made
</p>
</div>
 
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 16px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Furry_Church.JPG" class="image" title="Furry Church.JPG"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/f/fb/Furry_Church.JPG/120px-Furry_Church.JPG" width="120" height="114" border="0" /></a></div></div>
<div class="gallerytext">
<p>The Haden is no stranger to furry.
</p>
</div>
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 13px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Bunny2.jpg" class="image" title="Bunny2.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/a/a3/Bunny2.jpg/80px-Bunny2.jpg" width="80" height="120" border="0" /></a></div></div>
 
<div class="gallerytext">
<p>You gonna get raped!
</p>
</div>
</div></td>
</tr>
<tr>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 13px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Furryart.jpg" class="image" title="Furryart.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/c/c0/Furryart.jpg/87px-Furryart.jpg" width="87" height="120" border="0" /></a></div></div>
<div class="gallerytext">
 
<p>Relatively tame furry art
</p>
</div>
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 19px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:AlteredBeast-Furries.JPG" class="image" title="AlteredBeast-Furries.JPG"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/b/b0/AlteredBeast-Furries.JPG/120px-AlteredBeast-Furries.JPG" width="120" height="107" border="0" /></a></div></div>
<div class="gallerytext">
<p>Altered Beast - Furry's favourite game
</p>
</div>
</div></td>
 
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 16px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Dogboner.jpg" class="image" title="Dogboner.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/4/46/Dogboner.jpg/120px-Dogboner.jpg" width="120" height="114" border="0" /></a></div></div>
<div class="gallerytext">
<p>A typical Furry <a href="/Lul" title="Lul" class="mw-redirect">lul</a>
</p>
</div>
</div></td>
<td><div class="gallerybox" style="width: 155px;">
<div class="thumb" style="padding: 13px 0; width: 150px;"><div style="margin-left: auto; margin-right: auto; width: 120px;"><a href="/File:Halo_Mission_Briefing.jpg" class="image" title="Halo Mission Briefing.jpg"><img alt="" src="http://images.encyclopediadramatica.com/images/thumb/d/d5/Halo_Mission_Briefing.jpg/119px-Halo_Mission_Briefing.jpg" width="119" height="120" border="0" /></a></div></div>
 
<div class="gallerytext">
<p>the disease is spreading to a few games to, oh noes!!!1
</p>
</div>
</div></td>
</tr>
</table></span></td>
</tr>
 
</table>
<p><br />
<br style="clear: both;" />
<br style="clear: both;" />
</p>
</p>


<a name="See_Also" id="See_Also"></a><h2> <span class="mw-headline"> See Also </span></h2>
==See Also==
<ul><li> <a href="/Encyclopedia_Dramatica:Morphing_Objects" title="Encyclopedia Dramatica:Morphing Objects">Morphing Objects</a>
*[[ED:Morphing Objects|Morphing Objects]]
</li></ul>

Revision as of 20:59, 19 April 2011


ED is using a new Collapsing Objects code. You will see some familiar concepts, but the syntax and end results have been changed around a great deal. Just like before, you can either write the code yourself (much easier than version 1) or use a template.

Writing the Code

In the previous version of the code, there was a one-to-one ratio between links and collapsing content. This new release allows for greater flexibility in four different ratios.

You pass information to the script using the class tag of the container that will hold the link. Arguments are separated by semicolons and the ordering is mandatory. For instance:

<span class="co;ctext;etext;state;classname;linkcolor"></span>

co - This designates a collapsing object. It is mandatory and case sensitive.
ctext - This is the collapsing link text. It can contain any special characters or spaces except a semicolon.
etext - This is the expanding link text. It can contain any special characters or spaces except a semicolon.
state - This is the initial state. 0 is collapsed; 1 is expanded. God help you if you put a 2.
classname - The target class of this link. See the following sections for an explanation.
linkcolor - Optional parameter that lets you customize the link's color. Don't include the preceeding semicolon if you're not changing the color.

You mark the target object(s) by setting the class equal to classname. For example:

<div class="classname">Content!</div>

One-to-One

This is the standard one link to one content region relationship.

Example:

    What's up?

Code:

<span class="co;[Collapse];[Expand];0;test1"></span>

<span class="test1">What's up?</span>

One-to-Many

This is one link to multiple content regions.

Example:

    What's up?    What's up?

Code:

<span class="co;[Collapse];[Expand];0;test2"></span>

<span class="test2">What's up?</span>

<span class="test2">What's up?</span>

Many-to-One

This is multiple links to one content region.

Example:

    What's up?    

Code:


<span class="co;[Collapse];[Expand];0;test3"></span>

<span class="test3">What's up?</span>

<span class="co;[Collapse];[Expand];0;test3"></span>

Many-to-Many

This is multiple links to multiple content regions.

Example:

    What's up?    What's up?    

Code:

<span class="co;[Collapse];[Expand];0;test4"></span>

<span class="test4">What's up?</span>

<span class="test4">What's up?</span>

<span class="co;[Collapse];[Expand];0;test4"></span>

Changing Link Color

This collapsing link is red.

Example:

    My link is red.

Code:

<span class="co;[Collapse];[Expand];0;test5;red"></span>    <span class="test5">My link is red.</span>

Using Templates

The templates require you to specify a target class name. This allows you to extend the functionality of each template by adding more links or content regions to suit your need. A target class name must be unique to the page and contain no spaces.

{{co}}: Object

Generic collapsing object. More or less the same as writing out the one-to-one code by hand.

{{co|A|B|C|D|E|F}}

A: Unique name to the page, no spaces.
B: The text to be displayed on the collapse link.
C: The text to be displayed on the expand lnk.
D: The initial state. 0 = collapsed, anything else = expanded.
E: The content to collapse and expand.
F: Style information for the collapsing content.

For instance,

{{co|qwerty|[Collapse Me]|[Expand Me]|1|Here's some stuff.|color: red; background-color: black; padding: 5px;}}

gives you:


Here's some stuff.


{{cs}}: Section

Level 2 collapsing section header.

{{cs|A|B|C|D}}

A: Unique name to the page, no spaces.  Hint: The section name with no spaces works.
B: The section name.
C: The section content.  May contain nested collapsable sections.
D: The initial state. 0 = collapsed, anything else = expanded.

For instance,

{{cs|testSectionOne|Test Section One|Here's some sample content under a large header.|0}}

gives you:


[-+]Test Section One


Here's some sample content under a large header.
Here's some sample content under a large header.

{{cs2}}: Subsection

Level 3 collapsing section header.

{{cs2|A|B|C|D}}

A: Unique name to the page, no spaces.  Hint: The section name with no spaces works.
B: The section name.
C: The section content.  May contain nested collapsable sections.
D: The initial state. 0 = collapsed, anything else = expanded.

For instance,

{{cs2|testSectionTwo|Test Section Two|Here's some sample content under a small header.|0}}

gives you:



[-+]Test Section Two

Here's some sample content under a small header.
Here's some sample content under a small header.

{{cg}}: Gallery

{{cg|A|B|C|D|E}}

A: Gallery title to be displayed in the black box
B: Unique name to the page.  Hint: The gallery title with no spaces works fine.
C: Horizontal alignment of gallery on page.  "left", "right", or "center".
D: Teaser gallery images.  Must be enclosed in <gallery></gallery> tags and should be a multiple of four images.
E: Remaining gallery images.  Must be enclosed in <gallery></gallery> tags.

Example:

{{cg|Galleria de Furfaggotry|furryGallery|center|<gallery>
Image:Sickfuckfurryhumor1.jpg|Typical furry's daily comic strip
Image:Lolanimalsex.jpg|Furries like sex with animals, as drawn by Arania
Image:Yiffinhellfurfag.jpg|Pro-yiffer propaganda disguised as harmless kiddie comics. WAKE UP AMERICA 
Image:Judge Doom M 03.jpg|Scientists are currently thinking of ways to exterminate furfags.
</gallery>|<gallery>
Image:Furrybarf.jpg|Neutered furry without spaceballs?
Image:Times Travelled.jpg
Image:FurrySuck.jpg|Suck the furry's [[cock|rod]], [[bitch]]!
Image:Wheregodfurry.jpg|Where is your [[God]] now?
...
</gallery>}}

gives you:


Galleria de Furfaggotry About missing Pics
[Collapse GalleryExpand Gallery]



See Also