IMPORTANT
A day shy of a week ago Robotech Master was out on his e-bike when an SUV struck him and drove off. According to the most recent news available, he passed away from his injuries at around 2:00 this morning. I have kept some news up on his user page and, at this point, ask that anyone wishing to leave messages or tributes do so on either his talk page or another page that can be used for such things. His account here and all of the stories he has gifted the Shifti community with will be preserved in memoriam, as we also did for Morgan.

User:ShadowWolf/Test Page

From Shifti
Jump to: navigation, search
Info icon.pngTest Page and Examples
Author:ShadowWolf
Website:Test Page
Genre:Non-Fiction
Series:Examples
Previous:Test Page
Next:Test Page
Setting/Universe:Examples



{{#ifeq:User|Template|{{part|name=section name|number=section number|seper=separator template type}}|{{#ifeq: | |==={{title}} examples===|{{#ifeq:{{{seper}}}|hr|===
=== ==={{title}} examples===|===
[[Image:Separator {{{seper}}} left.png|100px]] {{title}} examples [[Image:Separator {{{seper}}} right.png|100px]]
===}}}}}}


Blank call:
Test Page

Author: ShadowWolf

All parameters:
Test Page

Author: ShadowWolf

User name omitted:
Test Page

Author: ShadowWolf

All but the author omitted:
Test Page

Author: ShadowWolf

Author omitted:
Test Page

Author: ShadowWolf

See, the template does try to be smart and cover all the possibilities. But remember, its limited in its intelligence so there is no guarantee it'll work :)




{{#ifeq:User|Template|{{part|name=section name|number=section number|seper=separator template type}}|{{#ifeq: | |==={{part}} examples===|{{#ifeq:{{{seper}}}|hr|===
=== ==={{part}} examples===|===
[[Image:Separator {{{seper}}} left.png|100px]] {{part}} examples [[Image:Separator {{{seper}}} right.png|100px]]
===}}}}}}


Blank Call:



{{#ifeq:User|Template|{{part|name=section name|number=section number|seper=separator template type}}|{{#ifeq: | |===
===|{{#ifeq:{{{seper}}}|hr|===
=== ===
===|===
[[Image:Separator {{{seper}}} left.png|100px]] 
 [[Image:Separator {{{seper}}} right.png|100px]]
===}}}}}}


All parameters:



{{#ifeq:User|Template|{{part|name=section name|number=section number|seper=separator template type}}|{{#ifeq:k| |===Part 2: All Parameters Demo===|{{#ifeq:k|hr|===
=== ===Part 2: All Parameters Demo===|===
Separator k left.png Part 2: All Parameters Demo Separator k right.png
===}}}}}}


Without seper:



{{#ifeq:User|Template|{{part|name=section name|number=section number|seper=separator template type}}|{{#ifeq: | |===Part 3: No Seper Demo===|{{#ifeq:{{{seper}}}|hr|===
=== ===Part 3: No Seper Demo===|===
[[Image:Separator {{{seper}}} left.png|100px]] Part 3: No Seper Demo [[Image:Separator {{{seper}}} right.png|100px]]
===}}}}}}


Just the name:



{{#ifeq:User|Template|{{part|name=section name|number=section number|seper=separator template type}}|{{#ifeq: | |===Just the name parameter===|{{#ifeq:{{{seper}}}|hr|===
=== ===Just the name parameter===|===
[[Image:Separator {{{seper}}} left.png|100px]] Just the name parameter [[Image:Separator {{{seper}}} right.png|100px]]
===}}}}}}


Just the number:



{{#ifeq:User|Template|{{part|name=section name|number=section number|seper=separator template type}}|{{#ifeq: | |===Part 4===|{{#ifeq:{{{seper}}}|hr|===
=== ===Part 4===|===
[[Image:Separator {{{seper}}} left.png|100px]] Part 4 [[Image:Separator {{{seper}}} right.png|100px]]
===}}}}}}


Ask for a horizontal rule separator:



{{#ifeq:User|Template|{{part|name=section name|number=section number|seper=separator template type}}|{{#ifeq:hr| |===Part 5: Ask for a horizontal rule separator===|{{#ifeq:hr|hr|===
=== ===Part 5: Ask for a horizontal rule separator===|===
100px Part 5: Ask for a horizontal rule separator 100px
===}}}}}}


Yes - the blank call does generate a heading (now - as of 2150EST (UTC-5) on 24/7/2007). Previously it would only generate the <hr/>.