Difference between revisions of "Template:SBWiki"
From Drawn to Life Wiki
(To streamline what Spectrum was wanting to do to the SB pages - this can be applied to any single-bracket link leading to the SB wiki) |
(Fixed it!) |
||
| Line 1: | Line 1: | ||
| − | <includeonly><span class="plainlinks">[https://spongebob.fandom.com/wiki/{{{1}}} {{{2}}}][[File:SBSYMBOL.png|24px|link=https://spongebob.fandom.com/wiki/{{{1}}}]]</span></includeonly> | + | <includeonly><span class="plainlinks">[https://spongebob.fandom.com/wiki/{{{1}}} {{{2}}}][[File:SBSYMBOL.png|24px|link=https://spongebob.fandom.com/wiki/{{{1}}}]]</span></includeonly><noinclude> |
| − | |||
| − | <noinclude> | ||
This template is meant to be used to link to pages on the Spongebob Squarepants Wiki without using the standard link format. To use this Template on a page, insert the following code instead of a link: | This template is meant to be used to link to pages on the Spongebob Squarepants Wiki without using the standard link format. To use this Template on a page, insert the following code instead of a link: | ||
{|float="left" | {|float="left" | ||
| Line 19: | Line 17: | ||
Will produce this: | Will produce this: | ||
| − | {{SBWiki|SpongeBob_SquarePants_(character)|Link}} | + | {{SBWiki|SpongeBob_SquarePants_(character)|Link}} with text after |
<!--Based on the {{HS}} and {{HS2}} templates from the Homestuck FANDOM Wiki, created by The Light6--> | <!--Based on the {{HS}} and {{HS2}} templates from the Homestuck FANDOM Wiki, created by The Light6--> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 23:18, 26 November 2025
This template is meant to be used to link to pages on the Spongebob Squarepants Wiki without using the standard link format. To use this Template on a page, insert the following code instead of a link:
{{SBWiki|Page_Title|text}}
|
Where "Page_Title" is the name of the desired page with underscores instead of spaces, and "text" is the text to be displayed before the SpongeBob Icon.
For example, the following code:
{{SBWiki|SpongeBob_SquarePants_(character)|Link}}
|
Will produce this:
Link
with text after