Difference between revisions of "Template:Infobox News"

From SimsWiki
Jump to: navigation, search
 
(6 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;"><big> {{if|test={{{name|}}}|then={{{name News}}}|else={{PAGENAME}} }}</big></th></tr>
+
{| class=toccolours align=center
{{if
+
|-
  |test={{{first|}}}
+
! colspan=2 style="background:#ccf;" | *current page of the project* News
  |then=<tr><td>[[{{{1.}}}]]</td></tr>
+
|-
}}{{if
+
| colspan=2 style="font-size: 110%;" align=left |  
  |test={{{news2|}}}
+
:* Enter news-text here
  |then=<tr><th>news</th><td>{{{news2}}}</td></tr>
+
:* Enter news-text here
}}
+
:* Enter news-text here
Test-patul : <ncl>Category:Build Mode Stealth Stairs Tutorials</ncl>
+
</table>
+
<includeonly>
+
[[Category:Tools]]
+
</includeonly>
+
 
+
<noinclude>
+
== Usage ==
+
{| style="background: transparent;"
+
|<pre>{{Infobox Tutorial
+
| news =
+
| news2 =
+
}}
+
</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>
+
 
+
 
+
Can please someone who understands this stuff adjust this page? If possible that news can be added in a "news flash" box as a list. If it doesn't work like that delete this page and please suggest something better working to me ([[http://www.sims2wiki.info/Talk:TXMT TXMT Talk]] where this infobox is required :D Thanks in advance, [[User:Khaibit|Khaibit]]
+

Latest revision as of 22: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