Template:Source: Difference between revisions
Attempting to add TOC option functionality to source template without breaking anything |
mNo edit summary |
||
| (10 intermediate revisions by 3 users not shown) | |||
| Line 10: | Line 10: | ||
This page is not a 'live' article. It should not be altered or added to except to correct spelling, grammar or translation issues. | This page is not a 'live' article. It should not be altered or added to except to correct spelling, grammar or translation issues. | ||
|} | |} | ||
{{#ifeq: {{NAMESPACE}} | Image | |{{#if {{limit|}}| {{TOC|limit={{limit}}}}|__TOC__}}}} | <!-- Empty table so that the TOC isn't affected by the .tt1_cr-boilerplate + div CSS selector --> | ||
[[Category:Source material]]</includeonly><noinclude>{{doc}} | {| | ||
| | |||
|} | |||
{{#ifeq: {{NAMESPACE}} | Image || {{#if: {{{limit|}}}| {{TOC|limit={{{limit}}}}}|__TOC__}}}} | |||
{{#if:{{{nocategory|}}} ||[[Category:Source material]]}}</includeonly><noinclude>{{doc}} | |||
[[Category:Templates|Source]] | [[Category:Source material| ]][[Category:Templates|Source]] | ||
</noinclude> | </noinclude> | ||
---- | ---- | ||
Latest revision as of 10:35, 8 June 2025
{{source| offsite archive URL| date archived}}
This template accept 0, 1 or 2 values. The first optional value can be the url off an offsite copy of this document. The second optional value is the timestamp of that external archive. (By entering 5 ~'s, ~~~~~) If this template is placed on an image, the table of contents will not be displayed.
{{source|http://www.google.com/|~~~~~}}
{{source}} is used in the rare occasions when a primary source document originates on this wiki. This will almost certainly be a translated Japanese information source, since archiving copyrighted text in its original language would not be permitted under Project:Copyrights.
A stable version of this source document should be archived offsite in case MediaWiki ever ceases operation (probably on Alt.toys.transformers) and a link to it provided.
This is Source MaterialThe content of this page is considered a primary source (probably a Japanese or German translation) used as the basis of other articles that may;
This page is not a 'live' article. It should not be altered or added to except to correct spelling, grammar or translation issues. |

