ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "Template:MappingBar"

From ModEnc
Jump to: navigation, search
m (Yeah, would've been smarter to create sidebar first)
m (Added overflow clipping to pre-formatted text block)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<onlyinclude>{{Sidebar|width=17em|float=right|title=Map-specific INI sections|content={{ModEnc:Sidebars/MappingBar}}}}</onlyinclude>
+
<onlyinclude>{{Sidebar
 +
|width=17em
 +
|float=right
 +
|title=Map-specific INI sections
 +
|collapsed=yes
 +
|content={{ModEnc:Sidebars/MappingBar}}
 +
}}
 +
{{#ifeq:{{FULLPAGENAME}}|Template:MappingBar||
 +
{{#ifeq:{{{categ|yes}}}|yes|[[Category:Maps Sections]]}}
 +
}}</onlyinclude>
 +
 
 
Use this sidebar to mark up the map INI sections, replacing the old SideBar|Mapping model.
 
Use this sidebar to mark up the map INI sections, replacing the old SideBar|Mapping model.
Usage:<pre>{{MappingBar}}</pre>
+
Usage:<pre style="overflow: hidden;">{{MappingBar}}</pre>
  
 
== Example ==
 
== Example ==
 
Result visible to the right.
 
Result visible to the right.
 
{{MappingBar}}
 

Latest revision as of 18:05, 20 June 2022


Use this sidebar to mark up the map INI sections, replacing the old SideBar|Mapping model.

Usage:
{{MappingBar}}

Example

Result visible to the right.