FANDOM


(style = tile (default))
 
(14 intermediate revisions by one user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}__NOTOC__<!--
 
{{Documentation subpage}}__NOTOC__<!--
-->{{#ifeq:{{PAGENAME}}|New A8box
+
-->{{#ifeq:{{PAGENAME}}|New news item
|{{ambox | text = This is a metatemplate used to create a new '''[[:Category:News templates|News template]]''' for the modular system. It provides the necessary code and comments with instructions how to adapt it.<br/><ul><li>For a how-to guide, see [[Asphalt Wiki:New news item]].</li><li>For details how to use news templates in articles, see [[Help:News modular system]].</li><li>The text below is displayed on every news template page in order to show the effects of edits. (Template loop errors will disappear there.)</li></ul>}}}}<!--
+
|{{ambox | text = This is a metatemplate used to create a new '''[[:Category:News templates|News template]]''' for the modular system. It provides the necessary code and comments with instructions how to adapt it.<br/><ul><li>For a how-to guide, see [[Asphalt Wiki:New news item]].</li><li>For details how to use news templates in articles, see [[Help:News modular system]].</li><li>The text below is displayed on every news template page in order to show the effects of edits. (Errors will disappear there.)</li></ul>}}}}<!--
 
--><includeonly>{{ {{PAGENAME}}}}
 
--><includeonly>{{ {{PAGENAME}}}}
 
</includeonly>
 
</includeonly>
   
This documentation is automatically generated for all news templates. It shows the effects of your edits on the different display styles.
+
'''''This template has to be published TWICE to be implemented correctly.''''' After saving, just click '''Edit''' and then '''Publish''' again.
* ''Note: '''Previewing or publishing the page does not display your edits.''' You have to click the '''purge''' link at the top of this documentation.'' This will force the server to clear the cache of the page, parse it again and show the changes.
 
 
* To add news, see [[Asphalt Wiki:New news item]]
 
* To add news, see [[Asphalt Wiki:New news item]]
 
* For an explanation of the parameters in this template, see {{tl|News}}.
 
* For an explanation of the parameters in this template, see {{tl|News}}.
 
* For details how to use news templates<!-- in articles-->, see [[Help:News modular system]].
 
* For details how to use news templates<!-- in articles-->, see [[Help:News modular system]].
  +
* This documentation is automatically generated for all news templates. It shows the effects of your edits on the different display styles.
   
 
== style = tile (default) ==
 
== style = tile (default) ==
: ''How it will appear on [[News]] pages:''
+
: ''How it will appear on [https://asphalt.fandom.com/wiki/News?action=purge News] pages:''
   
 
See top of this page.
 
See top of this page.
Line 32: Line 33:
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
 
|<!-- DO NOT CHANGE THESE CATEGORIES, THEY ARE GENERATED AUTOMATICALLY -->
 
|<!-- DO NOT CHANGE THESE CATEGORIES, THEY ARE GENERATED AUTOMATICALLY -->
{{#ifeq:{{PAGENAME}}|New A8box
+
{{#ifeq:{{PAGENAME}}|New news item
 
|[[Category:News metatemplates| ]][[Category:{{SITENAME}} metatemplates|{{PAGENAME}}]]
 
|[[Category:News metatemplates| ]][[Category:{{SITENAME}} metatemplates|{{PAGENAME}}]]
|{{#if:{{ {{PAGENAME}}|#a8}}|[[Category:Asphalt 8 news templates| ]]}}
+
|[[Category:News templates]]
  +
{{#if:{{ {{PAGENAME}}|#a8}}|[[Category:Asphalt 8 news templates| ]]}}
 
{{#if:{{ {{PAGENAME}}|#a9}}|[[Category:Asphalt 9 news templates| ]]}}
 
{{#if:{{ {{PAGENAME}}|#a9}}|[[Category:Asphalt 9 news templates| ]]}}
 
{{#if:{{ {{PAGENAME}}|#statistics}}|[[Category:Statistics news templates| ]]}}
 
{{#if:{{ {{PAGENAME}}|#statistics}}|[[Category:Statistics news templates| ]]}}

Latest revision as of 21:25, September 11, 2019

This is a documentation subpage for Template:New news item.
It contains usage information, categories and other content that is not part of the original template page.

This template has to be published TWICE to be implemented correctly. After saving, just click Edit and then Publish again.

  • To add news, see Asphalt Wiki:New news item
  • For an explanation of the parameters in this template, see {{News}}.
  • For details how to use news templates, see Help:News modular system.
  • This documentation is automatically generated for all news templates. It shows the effects of your edits on the different display styles.

style = tile (default) Edit

How it will appear on News pages:

See top of this page.

style = feed Edit

How it will appear inside a news feed (shortened text):


style = inline Edit

Full text, without surrounding design elements:


See also Edit


Community content is available under CC-BY-SA unless otherwise noted.