Template:Title: Difference between revisions

From Shifti
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
   {{#ifeq: {{{author| }}} | |
   {{#ifeq: {{{author| }}} | |
     {{#ifeq: {{NAMESPACE}} |User|
     {{#ifeq: {{NAMESPACE}} |User|
       {{BASEPAGENAME}}<br/>{{SUBPAGENAME}} | {{PAGENAME}}
       <span style="font-size: 22px;?><b>{{SUBPAGENAME}}</b></span><br/>Author: ''{{BASEPAGENAME}}'' | {{PAGENAME}}
     }} |
     }} |
     Author: ''{{{author}}}''
     Author: ''{{{author}}}''

Revision as of 01:20, 21 July 2007

{{#ifeq: | |

 {{#ifeq:   | |
   {{#ifeq: Template |User|
     Title
Author: Title | Title }} | Author: {{{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.