Jump to content

Template:FULLCHAPTERNAME: Difference between revisions

From IdeaWazaWiki
wikademia>Darklama
m rm extra spacing
wikademia>Darklama
simplified, no longer need a bunch of nested checking
Line 1: Line 1:
<includeonly><!--
<includeonly>{{#ifeq:{{BOOKNAME}}|{{PAGENAME}}|{{BOOKNAME}}|{{#titleparts:{{FULLPAGENAME}}||2}}}}</includeonly><noinclude>
-->{{#ifeq:{{PAGENAME}}|{{BOOKNAME}}<!--
---->|{{BOOKNAME}}<!--
---->|{{#ifeq:{{BOOKNAME}}|{{BASEPAGENAME}}<!--
------->|{{SUBPAGENAME}}<!--
------->|{{#ifeq:{{PAGENAME}}|{{#titleparts:{{PAGENAME}}|4|2}}<!--
--------->|{{#ifeq:{{PAGENAME}}|{{#titleparts:{{PAGENAME}}|3|2}}<!--
----------->|{{#titleparts:{{PAGENAME}}|2|2}}<!--
----------->|{{#titleparts:{{PAGENAME}}|3|2}}}}<!--
--------->|{{#titleparts:{{PAGENAME}}|4|2}}}}}}}}<!--
--></includeonly><noinclude>
Returns the full name of a chapter or the book name if it isn't a chapter.
Returns the full name of a chapter or the book name if it isn't a chapter.
</noinclude>
</noinclude>

Revision as of 22:29, 27 December 2007

Returns the full name of a chapter or the book name if it isn't a chapter.