Difference between revisions of "Template:Bc"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Qazaaq
(use small instead of font-size, easier to read)
imported>Haama
(Added code to allow up to 4 pages and allow undefined and empty strings for 2nd parameter)
Line 8: Line 8:
[[Category: Templates|Bc]]
[[Category: Templates|Bc]]
[[Category: Structural Templates|Bc]]
[[Category: Structural Templates|Bc]]
</noinclude><includeonly><div style="margin: -0.5em 0.5em 0.5em -0.5em;"><small>[[:{{NAMESPACE}}:{{{1|Main Page}}}|< back to {{{2|{{{1|Main Page}}}}}}]]</small></div></includeonly>
</noinclude><includeonly><div style="margin: -0.5em 0.5em 0.5em -0.5em;"><small>[[:{{NAMESPACE}}:{{{1|Main Page}}}|< back to {{ #if: {{{2|}}}|{{{2}}}|{{{1|Main Page}}} }}]]{{ #if: {{{3|}}}|...[[:{{NAMESPACE}}:{{{3|Main Page}}}|{{ #if: {{{4|}}}|{{{4}}}|{{{3|Main Page}}} }}]] }}{{ #if: {{{5|}}}|...[[:{{NAMESPACE}}:{{{5|Main Page}}}|{{ #if: {{{6|}}}|{{{6}}}|{{{5|Main Page}}} }}]] }}{{ #if: {{{7|}}}|...[[:{{NAMESPACE}}:{{{7|Main Page}}}|{{ #if: {{{8|}}}|{{{8}}}|{{{7|Main Page}}} }}]] }}</small></div></includeonly>

Revision as of 20:31, 14 December 2008

Add {{Bc|Back Article|Hyperlink Text}} to the top line of an article to add a breadcrumb back to the previous article in a hierarchy.

  • Back Article is the title of the article that is above the current one in the hierarchy.
  • Hyperlink Text is what the link should read. May be omitted, and the article title (sans Namespace) will be used instead.
  • If {{Bc}} is used without either parameter, it defaults to the Main Page of the current Namespace.
  • Multiple {{Bc}} tags can be added on subsequent lines, but keep them all in the first X lines.