Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Editing Template:Shard

Template page
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
<includeonly>{{disline|This article on '''{{PAGENAME}}''' is a shard, or a part, of a larger article ([[{{{article|{{{1}}}}}}]]). Please direct all [{{fullurl:{{{article|{{{1}}}}}}|action=edit}} edits there].}}
<includeonly>{{disline|This article on '''{{{section|{{{2}}}}}}''' is a shard, or a part, of a larger article ([[{{{article|{{{1}}}}}}]]). Please direct all [{{fullurl:{{{article|{{{1}}}}}}|action=edit}} edits there].}}


{{#lsth:{{{article|{{{1}}}}}}|{{{section|{{{2}}}}}}}}
{{#lsth:{{{article|{{{1}}}}}}|{{{section|{{{2}}}}}}}}
{{#if:{{{refs|{{{3|}}}}}}|
 
==References==
==References==


{{reflist}}
{{reflist}}[[Category: Battlestar Wiki Shards]]</includeonly><noinclude>
|{{void}}
}}[[Category: Battlestar Wiki Shards]]</includeonly><noinclude>
=Documentation=
=Documentation=
A '''shard''' is a ''section of larger article'' that is presented individually for end-user clarity. These were previously redirects, but are better suited to be shown as individual articles, without having to directly copy and paste them as such.  
A '''shard''' is a ''section of larger article'' that is presented individually for end-user clarity. These were previously redirects, but are better suited to be shown as individual articles, without having to directly copy and paste them as such.  
Line 21: Line 19:
|article=
|article=
|section=
|section=
|refs=
}}</pre>
}}</pre>


Line 27: Line 24:
* '''section''': The section of the article.  
* '''section''': The section of the article.  
** Note: If the section has fancy formatting, hyperlink, etc., be sure to copy the wikitext that includes this. Otherwise, it'll break.
** Note: If the section has fancy formatting, hyperlink, etc., be sure to copy the wikitext that includes this. Otherwise, it'll break.
* '''refs''': Creates a references section. Typically hidden by default, otherwise marked '''Y''' to make visible.
** Note: By default, any references that are used in the page will show up as footnotes at the bottom of the shard. Enabling this just makes them prettier.


===Example===
===Example===
Line 46: Line 41:
===Example===
===Example===


<pre>{{shard|The Twelve Colonies of Kobol|Aquaria}}</pre>
<pre>{{shard|The Twelve Colonies of Kobol|Caprica}}</pre>


====Output====  
====Output====  


{{shard|The Twelve Colonies of Kobol|Aquaria}}
{{shard|The Twelve Colonies of Kobol|Caprica}}


[[Category:Battlestar Wiki Templates]]
[[Category:Battlestar Wiki Templates]]
<templatedata>
</noinclude>
{
"params": {
"article": {
"aliases": [
"1"
],
"label": "Article Name",
"type": "wiki-page-name",
"required": true
},
"section": {
"aliases": [
"2"
],
"label": "Section of Article",
"description": "Note: It is important to use the section header as formatted, including any wikitext (excluding the equal signs, e.g. =)",
"type": "line",
"required": true
},
"refs": {
"aliases": [
"3"
],
"label": "References",
"description": "Show references in a prettier way, should they be part of the shard being called from the main article.",
"type": "string",
"suggestedvalues": [
"Y"
]
}
}
}
</templatedata></noinclude>

To edit this page, please enter the words that appear below in the box (more info):

Refresh
Cancel Editing help (opens in new window)

  [] · [[]] · [[|]] · {{}} · · “” ‘’ «» ‹› „“ ‚‘ · ~ | ° &nbsp; · ± × ÷ ² ³ ½ · §
     [[Category:]] · [[:File:]] · [[Special:MyLanguage/]] · <code></code> · <nowiki></nowiki> <code><nowiki></nowiki></code> · <syntaxhighlight></syntaxhighlight> · <includeonly></includeonly> · <noinclude></noinclude> · #REDIRECT[[]] · <translate></translate> · <languages/> · {{#translation:}} · <tvar|></> · {{DEFAULTSORT:}} · <categorytree></categorytree> · <div style="clear:both;"></div> <s></s>


Your changes will be visible immediately.
  • For testing, please use the sandbox instead.
  • On talk pages, please sign your comment by typing four tildes (~~~~).