Jump to content

Template:FULLCHAPTERNAME: Difference between revisions

From IdeaWazaWiki
wikademia>Darklama
simplified, no longer need a bunch of nested checking
wikademia>Darklama
m fixed a bad assumption
Line 1: Line 1:
<includeonly>{{#ifeq:{{BOOKNAME}}|{{PAGENAME}}|{{BOOKNAME}}|{{#titleparts:{{FULLPAGENAME}}||2}}}}</includeonly><noinclude>
<includeonly>{{#if:{{#titleparts:{{FULLPAGENAME}}||2}}|{{#titleparts:{{FULLPAGENAME}}||2}}|{{FULLPAGENAME}}}}</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 21:05, 1 April 2008

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