Template:NatsNavboxLines: Difference between revisions

From Vintage Story Wiki
m (Update to support new lines.)
m (Minor fix.)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#invoke:String|replace|source={{#invoke:String|replace|source={{{1}}}|
{{#invoke:String|replace|source={{#invoke:String|replace|source={{{1}}}|,
| • }}| • |
| • }}| •  
}}</includeonly><noinclude>
|<br/>
{{documentation}}
}}<noinclude>{{documentation}}</noinclude>
</noinclude>

Latest revision as of 19:25, 24 March 2024

{{{1}}}

[view | edit | history | purge this page]Documentation

This automatically replaces a single new line with ' • ' and two new lines with a single new line.

Template parameters

ParameterDescriptionTypeStatus
StringString

List of links, seperated by new lines.

Stringrequired

Usage

{{NatsNavboxLines
|{{ll|:Category:Guides|Guides}}
{{ll|Frequently_Asked_Questions_(FAQ)|Frequently Asked Questions}}
{{ll|Vintage Story Original Soundtrack|Soundtrack}}
{{ll|Version history|Versions}}
{{ll|Controls|Controls}}
}}
[view | edit | history | purge this page]The above documentation is transcluded from Template:NatsNavboxLines/doc.