Difference between revisions of "Template:Infobox News"

From SimsWiki
Jump to: navigation, search
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<table class="infobox" style="width: 1000px; font-size:110%; margin-center: 4px; text-align: left; align: left; border: 1px solid" cellspacing="4">
+
<br clear=all>
<tr><th colspan="2" style="text-align: center;"></th></tr>
+
{| class=toccolours align=center
{{if
+
|-
  |test={{{news|}}}
+
! colspan=2 style="background:#ccf;" | *current page of the project* News
  |then=<tr><th>news</th><td>[[{{{news}}}]]</td></tr>
+
|-
}}{{if
+
| colspan=2 style="font-size: 110%;" align=left |  
  |test={{{news|}}}
+
:* Enter news-text here
  |then=<tr><th>news</th><td>{{{news}}}</td></tr>
+
:* Enter news-text here
}}
+
:* Enter news-text here
</table>
+
<includeonly>
+
[[Category:Tools]]
+
</includeonly>
+
 
+
<noinclude>
+
== Usage ==
+
{| style="background: transparent;"
+
|<pre>{{Infobox Tutorial
+
| news =
+
| news =
+
}}
+
</pre>
+
 
|}
 
|}
  
 +
Used this template on the TXTM-talk subpages.
  
== Example ==
+
OK, still don't know how to add the stuff from the boxes of each page to a (still not working) general news-collecting infobox on the TXMT:Talk page...
Infobox News<br>
+
I found out that "|" can either mean "this is code, don't display" or "display this to seperate text" but I'm still unsure how to make sure that it means the one or another version. As long as I can't find a page listing the code-stuff I won't be able to get it working because I don't know what this means at all and the "try and error" method would take ages... completely helpless! [[User:Khaibit|Khaibit]]
<br>
+
news = news listed            ''text''
+
<br>
+
news = next news listed            ''text''
+
<br>
+
 
+
* copy and paste the '''news''' content in the overview section
+
</noinclude>
+

Latest revision as of 17:35, 29 December 2006


*current page of the project* News
  • Enter news-text here
  • Enter news-text here
  • Enter news-text here

Used this template on the TXTM-talk subpages.

OK, still don't know how to add the stuff from the boxes of each page to a (still not working) general news-collecting infobox on the TXMT:Talk page... I found out that "|" can either mean "this is code, don't display" or "display this to seperate text" but I'm still unsure how to make sure that it means the one or another version. As long as I can't find a page listing the code-stuff I won't be able to get it working because I don't know what this means at all and the "try and error" method would take ages... completely helpless! Khaibit

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox