Template:Title: Difference between revisions
Jump to navigation
Jump to search
ShadowWolf (talk | contribs) No edit summary |
ShadowWolf (talk | contribs) No edit summary |
||
| Line 11: | Line 11: | ||
<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 | :This generates a headerbar like you see above, with {{{title}}} and {{{author}}} properly replaced. The parameters can be omitted entirely, and if the page is a sub-page of your user page the template will attempt to automatically fill in the values. Otherwise it will insert the page name as the Wiki sees it. For an example of what that means, take a look at [[User:ShadowWolf/Test Page]]. | ||
</noinclude> | </noinclude> | ||
Revision as of 01:30, 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. The parameters can be omitted entirely, and if the page is a sub-page of your user page the template will attempt to automatically fill in the values. Otherwise it will insert the page name as the Wiki sees it. For an example of what that means, take a look at User:ShadowWolf/Test Page.