Template:Title: Difference between revisions

From Shifti
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
   }} |
   }} |
   <span style="font-size: 22px;"><b>{{{title}}}</b></span><br/>
   <span style="font-size: 22px;"><b>{{{title}}}</b></span><br/>
   Author: ''{{{author}}}''
   {{#ifeq: {{{author| }}} | | {{#ifeq: {{NAMESPACE}} |User| Author: ''{{BASEPAGENAME}}'' | }} | Author: ''{{{author}}}'' }}
  <hr/>
}}
}}
<noinclude>
<hr/><noinclude>
Usage: <nowiki>{{TitleLine|title=Story Title|author=Author Name}}</nowiki>
Usage: <nowiki>{{TitleLine|title=Story Title|author=Author Name}}</nowiki>
:This generates a headerbar like you see above, with <nowiki>{{{title}}}</nowiki> and <nowiki>{{{author}}}</nowiki> properly replaced.
:This generates a headerbar like you see above, with <nowiki>{{{title}}}</nowiki> and <nowiki>{{{author}}}</nowiki> properly replaced.
</noinclude>
</noinclude>

Revision as of 01:26, 21 July 2007

{{#ifeq: | |

 {{#ifeq:   | |
   {{#ifeq: Template |User|
     Title
Author: Title | Title }} | Author: {{{author}}} }} | {{{title}}}
{{#ifeq: | | {{#ifeq: Template |User| Author: Title | }} | Author: {{{author}}} }}

}}


Usage: {{TitleLine|title=Story Title|author=Author Name}}

This generates a headerbar like you see above, with {{{title}}} and {{{author}}} properly replaced.