Jump to content

Template:FULLCHAPTERNAME: Difference between revisions

From IdeaWazaWiki
wikademia>Darklama
m rm excess }'s
wikademia>Wikademia
m 9 revisions
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly>{{#if:{{#titleparts:{{FULLPAGENAME}}||2}}|{{#titleparts:{{FULLPAGENAME}}||2}}|{{FULLPAGENAME}}}}</includeonly><noinclude>
-->{{#ifeq:{{PAGENAME}}|{{BOOKNAME}}<!--
Returns the full name of a chapter or the book name if it isn't a chapter.
-->|{{BOOKNAME}}<!--
-->|{{#ifeq:{{PAGENAME}}|{{#titleparts:{{PAGENAME}}|4|2}}<!--
---->|{{#ifeq:{{PAGENAME}}|{{#titleparts:{{PAGENAME}}|3|2}}<!--
------>|{{#ifeq:{{PAGENAME}}|{{#titleparts:{{PAGENAME}}|2|2}}<!--
-------->|{{#ifeq:{{PAGENAME}}|{{#titleparts:{{PAGENAME}}|1|2}}<!--
---------->|{{PAGENAME}}<!--
---------->|{{#titleparts:{{PAGENAME}}|1|2}}}}<!--
-------->|{{#titleparts:{{PAGENAME}}|2|2}}}}<!--
------>|{{#titleparts:{{PAGENAME}}|3|2}}}}<!--
---->|{{#titleparts:{{PAGENAME}}|4|2}}}}}}<!--
--></includeonly><noinclude>
{{FULLPAGENAME}}
</noinclude>
</noinclude>

Latest revision as of 00:33, 29 April 2009

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