Template talk:Clear: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
No edit summary
Line 2: Line 2:
:That's what I was wondering... apparently RR knows, since he uses it.{{unsigned|Guesty-Persony-Thingy}}
:That's what I was wondering... apparently RR knows, since he uses it.{{unsigned|Guesty-Persony-Thingy}}
::Something useful. Cheers, <tt>[[user:RelentlessRecusant|49 Proximal Secant]]<sup><nowiki>[</nowiki>[[User talk:RelentlessRecusant|oracle]]<nowiki>]</nowiki></sup></tt>[[Image:H3 Monitor.PNG|25px]] 05:43, 7 January 2007 (UTC)
::Something useful. Cheers, <tt>[[user:RelentlessRecusant|49 Proximal Secant]]<sup><nowiki>[</nowiki>[[User talk:RelentlessRecusant|oracle]]<nowiki>]</nowiki></sup></tt>[[Image:H3 Monitor.PNG|25px]] 05:43, 7 January 2007 (UTC)
:By adding <nowiki>{{Clear}}</nowiki> you force the next bit of code that uses <DIV> tags down below.  For example:
Here we have the [[Corporal]] page without using the Clear code.  Notice how the two tables that use DIV codes mesh with each other creating a jumbled mess:
==Without Clear==
{{Rank Infobox
|name=Corporal
|image=
|affiliation=[[United Nations Space Command]]
|higher rank=[[Sergeant]]
|lower rank=[[Lance Corporal]]
|command=none
|known=*[[Corporal Wilkins]]
*[[Corporal Lovik]]
*[[Corporal Harland]]
*[[Corporal Locklear]]
*[[Corporal Perez]]
*[[Corporal C. Errera]]
}}'''Corporal''' is the fourth enlisted rank in the [[UNSC]] [[Marine]] Corps as well, ranking immediately above [[Lance Corporal]] and immediately below [[Sergeant]]. Corporal is the lowest grade of [[Non-commissioned officer]] in the UNSC Marine Corps, though promotion to Corporal traditionally confers a large jump in authority and responsibility compared to promotion from [[Private]] through Lance Corporal.
{{Mranks}}
{{Clear}}
==With the Clear Code==
Now notice that with the CLEAR code the second DIV table is pushed down below the first DIV table.
{{Rank Infobox
|name=Corporal
|image=
|affiliation=[[United Nations Space Command]]
|higher rank=[[Sergeant]]
|lower rank=[[Lance Corporal]]
|command=none
|known=*[[Corporal Wilkins]]
*[[Corporal Lovik]]
*[[Corporal Harland]]
*[[Corporal Locklear]]
*[[Corporal Perez]]
*[[Corporal C. Errera]]
}}'''Corporal''' is the fourth enlisted rank in the [[UNSC]] [[Marine]] Corps as well, ranking immediately above [[Lance Corporal]] and immediately below [[Sergeant]]. Corporal is the lowest grade of [[Non-commissioned officer]] in the UNSC Marine Corps, though promotion to Corporal traditionally confers a large jump in authority and responsibility compared to promotion from [[Private]] through Lance Corporal.
{{Clear}}
{{Mranks}}

Revision as of 00:52, January 7, 2007

What's this? --Dragonclaws 00:42, 1 January 2007 (UTC)

That's what I was wondering... apparently RR knows, since he uses it.—This unsigned comment was made by Guesty-Persony-Thingy (talkcontribs). Please sign your posts with ~~~~
Something useful. Cheers, 49 Proximal Secant[oracle]File:H3 Monitor.PNG 05:43, 7 January 2007 (UTC)
By adding {{Clear}} you force the next bit of code that uses
tags down below. For example:

Here we have the Corporal page without using the Clear code. Notice how the two tables that use DIV codes mesh with each other creating a jumbled mess:

Without Clear

Template:Rank InfoboxCorporal is the fourth enlisted rank in the UNSC Marine Corps as well, ranking immediately above Lance Corporal and immediately below Sergeant. Corporal is the lowest grade of Non-commissioned officer in the UNSC Marine Corps, though promotion to Corporal traditionally confers a large jump in authority and responsibility compared to promotion from Private through Lance Corporal. Template:Mranks

With the Clear Code

Now notice that with the CLEAR code the second DIV table is pushed down below the first DIV table. Template:Rank InfoboxCorporal is the fourth enlisted rank in the UNSC Marine Corps as well, ranking immediately above Lance Corporal and immediately below Sergeant. Corporal is the lowest grade of Non-commissioned officer in the UNSC Marine Corps, though promotion to Corporal traditionally confers a large jump in authority and responsibility compared to promotion from Private through Lance Corporal.

Template:Mranks