Difference between revisions of "350 Santa Fe Wiki Markup Quick Reference"
(Created page with " Citation Markup Examples: <ref name="MyPaperTag1"> 350SF White paper, John Doe, et al., Jan. 2020</ref>") |
|||
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Editing]] | ||
+ | === Citations === | ||
+ | '''Citation Markup Examples''': | ||
+ | <blockquote><nowiki> | ||
+ | <ref name="MyPaperTag1"> 350SF White paper, John Doe, et al., Jan. 2020</ref> | ||
+ | </nowiki></blockquote> | ||
+ | |||
+ | === Titles === | ||
+ | '''Hides the title of a page so you can use a different title''': | ||
+ | <blockquote><nowiki> | ||
+ | {{DISPLAYTITLE:<span style="position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}}</nowiki></blockquote> | ||
+ | |||
+ | === Panels === | ||
+ | '''Add a Synopsis panel''' for article archive entries | ||
+ | |||
+ | <blockquote> | ||
+ | <nowiki> | ||
+ | <blockquote style="background-color:#e4ece1; border:1px solid #4d4d4d;padding:10px 20px;"> | ||
+ | '''Synopsis by <name or initials> <date>'''</nowiki> | ||
+ | |||
+ | Your synopsis text goes here. | ||
+ | |||
+ | <nowiki> | ||
+ | </blockquote> | ||
+ | </nowiki> | ||
+ | </blockquote> | ||
+ | |||
+ | '''Example''' | ||
+ | <blockquote style="background-color:#e4ece1; border:1px solid #4d4d4d;padding:10px 20px;"> | ||
+ | '''Synopsis by <name or initials> <date>''' | ||
+ | |||
+ | Your synopsis text goes here. | ||
+ | |||
+ | </blockquote> | ||
+ | |||
+ | '''Add a Highlight panel''' | ||
+ | |||
+ | <blockquote> | ||
+ | <nowiki> | ||
+ | <blockquote style="padding:10px 20px;border:1px solid #ccc;width:50%;background-color:#eee;"> | ||
+ | </nowiki> | ||
+ | |||
+ | Your content goes here. | ||
+ | |||
+ | <nowiki> | ||
+ | </blockquote> | ||
+ | </nowiki> | ||
+ | </blockquote> | ||
+ | |||
+ | Example | ||
+ | <blockquote style="padding:10px 20px;border:1px solid #ccc;width:50%;background-color:#eee;"> | ||
+ | |||
+ | Your content goes here. | ||
+ | |||
+ | </blockquote> | ||
+ | |||
+ | === Categories === | ||
+ | '''Add a Category''' | ||
+ | |||
+ | When creating a new page, please include at least one category. This can be placed at the top of the page. Once saved, a panel at the bottom of the page will display the Category name chosen. Multiple entries can be included. For example, this page is in the '''Editing''' Category. | ||
+ | |||
+ | <nowiki>[[Cateogory:<name>]] [[Category...</nowiki> | ||
+ | |||
+ | See [[Special:Categories]] for an up to date list. | ||
+ | |||
+ | <!-- Category names in use are: | ||
+ | |||
+ | * Archives | ||
+ | * Editing | ||
+ | * Education | ||
+ | * Farming | ||
+ | * Industry | ||
+ | * Legislation | ||
+ | * Media | ||
+ | * Miscellany | ||
+ | * Problem | ||
+ | * Resilience | ||
+ | * Simulations | ||
+ | * Solutions | ||
+ | * State Agencies | ||
+ | * Stub | ||
+ | * Training | ||
+ | |||
+ | --> | ||
+ | |||
+ | === Sortable Tables === | ||
+ | Sortable tables can follow this example. Note that different data types can be specified. | ||
+ | '''Markup''' | ||
+ | <pre> | ||
+ | <nowiki> | ||
+ | {|class="wikitable sortable" | ||
+ | !data-sort-type="date"|Date!!Name!!Height!!data-sort-type="number"|Salary | ||
+ | |- | ||
+ | |01.10.1977||Smith||1.85||1,000.000 | ||
+ | |- | ||
+ | |11.6.1972||Ray||1.89||900.000 | ||
+ | |- | ||
+ | |1.9.1992||Bianchi||1.72||2,000.50 | ||
+ | |} | ||
+ | </nowiki> | ||
+ | </pre> | ||
− | + | '''Result''' | |
− | + | ||
+ | {|class="wikitable sortable" | ||
+ | !data-sort-type="date"|Date!!Name!!Height!!data-sort-type="number"|Salary | ||
+ | |- | ||
+ | |01.10.1977||Smith||1.85||1,000.000 | ||
+ | |- | ||
+ | |11.6.1972||Ray||1.89||900.000 | ||
+ | |- | ||
+ | |1.9.1992||Bianchi||1.72||2,000.50 | ||
+ | |} | ||
+ | |||
+ | See more at: | ||
+ | |||
+ | :[https://meta.wikimedia.org/wiki/Help:Sorting#:~:text=Tables%20can%20be%20made%20sortable,each%20of%20its%20header%20cells "Sortable Tables"] |
Latest revision as of 18:36, 29 June 2020
Citations
Citation Markup Examples:
<ref name="MyPaperTag1"> 350SF White paper, John Doe, et al., Jan. 2020</ref>
Titles
Hides the title of a page so you can use a different title:
{{DISPLAYTITLE:<span style="position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}}
Panels
Add a Synopsis panel for article archive entries
<blockquote style="background-color:#e4ece1; border:1px solid #4d4d4d;padding:10px 20px;"> '''Synopsis by <name or initials> <date>'''
Your synopsis text goes here.
</blockquote>
Example
Synopsis by <name or initials> <date>
Your synopsis text goes here.
Add a Highlight panel
<blockquote style="padding:10px 20px;border:1px solid #ccc;width:50%;background-color:#eee;">
Your content goes here.
</blockquote>
Example
Your content goes here.
Categories
Add a Category
When creating a new page, please include at least one category. This can be placed at the top of the page. Once saved, a panel at the bottom of the page will display the Category name chosen. Multiple entries can be included. For example, this page is in the Editing Category.
[[Cateogory:<name>]] [[Category...
See Special:Categories for an up to date list.
Sortable Tables
Sortable tables can follow this example. Note that different data types can be specified.
Markup
{|class="wikitable sortable" !data-sort-type="date"|Date!!Name!!Height!!data-sort-type="number"|Salary |- |01.10.1977||Smith||1.85||1,000.000 |- |11.6.1972||Ray||1.89||900.000 |- |1.9.1992||Bianchi||1.72||2,000.50 |}
Result
Date | Name | Height | Salary |
---|---|---|---|
01.10.1977 | Smith | 1.85 | 1,000.000 |
11.6.1972 | Ray | 1.89 | 900.000 |
1.9.1992 | Bianchi | 1.72 | 2,000.50 |
See more at: