Difference between revisions of "Template:BuildModeTutorialsIndexItem"

From SimsWiki
Jump to: navigation, search
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
|-
 
|-
|style="vertical-align:top;padding:0.6em 0em 0.4em 0em;border-bottom:1px solid #ccc;" | [{{{link}}} {{{linktext}}}]<br>
+
| style="vertical-align:top;width:150px;border-bottom:1px solid #ccc;" | {{if
 +
  |test={{{thumbnail|}}}
 +
  |then={{{thumbnail}}}
 +
}}
 +
| style="vertical-align:top;padding:0.6em 1em;margin:0;border-bottom:1px solid #ccc;" |  
 +
[{{{link}}} {{{linktext}}}]<br>
 
{{if
 
{{if
 
   |test={{{infotext|}}}
 
   |test={{{infotext|}}}
 
   |then={{{infotext}}}
 
   |then={{{infotext}}}
 
}}
 
}}
|style="width:150px;border-bottom:1px solid #ccc;" | {{if
+
| style="vertical-align:top;padding:0.6em 0em;margin:0;width:15%;border-bottom:1px solid #ccc;" | by [[:Category:Tutorials by {{{author}}} | {{{author}}}]]<br>
  |test={{{thumbnail|}}}
+
  |then={{{thumbnail}}}
+
}}
+
|style="vertical-align:top;padding:0.6em 0em 0.4em 1em;border-bottom:1px solid #ccc;width:15%;" | by [[:Category:Tutorials by {{{author}}} | {{{author}}}]]  
+
 
<noinclude>
 
<noinclude>
 
== Usage ==
 
== Usage ==
Line 33: Line 34:
  
 
* copy and paste the '''usage popup''' content in the Usage section
 
* copy and paste the '''usage popup''' content in the Usage section
* Note that the Author link must use the format <nowiki>[[:Category:Tutorials by NAME]]</nowiki>.  This links to a list of all tutorials by this author.  Note the ''':''' before Category.  This makes it a Wikilink rather than a category tag.
+
 
 
</noinclude>
 
</noinclude>

Latest revision as of 00:14, 28 May 2008

|- | style="vertical-align:top;width:150px;border-bottom:1px solid #ccc;" | | style="vertical-align:top;padding:0.6em 1em;margin:0;border-bottom:1px solid #ccc;" | [{{{link}}} {{{linktext}}}]

| style="vertical-align:top;padding:0.6em 0em;margin:0;width:15%;border-bottom:1px solid #ccc;" | by [[:Category:Tutorials by {{{author}}} | {{{author}}}]]

[edit] Usage

{{BuildModeTutorialsIndexItem
| thumbnail = 
| link = 
| linktext = 
| infotext = 
| author = 
}}

[edit] Example

thumbnail = image url optional
link = http://www.modthesims2.com/showthread.php?t=103896
linktext = Neighbourhood terrain levelling
infotext = How to use empty lots to level terrain optional
author = AuthorName


  • copy and paste the usage popup content in the Usage section


Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox