Show-Hide Function

From Sims99Wiki

Jump to: navigation, search

The Show/Hide Function lets you minimise information to make a page more presentable and easier to follow. It can be used to hide anything such as graphics, text, tables, etc.

Contents

[edit] How to Use the Show/Hide Function

[edit] Creating A New Page

In order to use the Show/Hide Function you need to create a separate, new page containing the information you want to minimise. (For information about starting a new page visit here.)


For example if you wanted to minimise the following table:


Name Age
John Sampler 15
Alicia Sampler 42


You would have to create a separate, new page for it.

In this example the new page is here.


[edit] Adding the Function

Once a new page for your information you want to minimise has been created you then type in the following:


{{spoiler|manual=Message|content={{:Content}}}}


Where Message is written you would type a short one sentence message, often containing instuctions, to be displayed.

Where Content is written you would add the end of link to the new page with your information on it.

This is called a spoiler.


So, in this example the following would be typed:


{{spoiler|manual=To see the Table click ''show''|content={{:Show/Hide_Function_Example}}}}

Notice that in the Content part the end of the link to the new page is typed.

The link to the new page is the following, however only the END of the link is needed (highlighted).

http://www.sims99.com/wiki/Show/Hide_Function_Example


The product is this:



[edit] Adding A Title

A title can be added to explain what information has been minimised.

To add the title simply add a heading as you would any other page followed by the spoiler.

(For information about formatting visit here)


The final product is this:

[edit] Age Table of the Samplers

Personal tools
Sponsored Links