User:Barbara (WVS)/formatting scrapbook

safe-space would be a

another example, I can get to it



 

word.

word2



Referencing
word.

Transclusion
Tip of the day... How to transclude a page into the page you are editing Including the contents of one page ("the template") into a host page is called transclusion. This allows the host page to automatically be updated whenever the template page is updated, and is accomplished on Wikipedia by surrounding the name of the page being transcluded from with four curly brackets and leaving out the "Template:" prefix. In addition, pages in the following namespaces can also be transcluded: Category:, Help:, Portal:, User:, and Wikipedia:. The only difference is that you must include the prefix (followed by a colon) with the page's name inside the double curly brackets. Images also can be transcluded, but this is done using double square brackets instead of curly ones. Here are some examples of templates that will transclude if you paste them, save them, and then refresh or purge the page:

} · ·  ·

highlight
Assertion: blah blah blah

blah blah blah

Lorem ipsum dolor sit

consectetur adipiscing elit.

Lorem ipsum dolor sit

consectetur adipiscing elit.

break
 Barbara      ✐  ✉

Portal

 * 1) African cuisine
 * 2) Albanian cuisine
 * 3) Algerian cuisine
 * 4) American cuisine
 * 5) Aragonese cuisine
 * 6) Armenian cuisine
 * 7) Azerbaijani cuisine
 * 8) Barbadian cuisine
 * 9) Bruneian cuisine
 * 10) Bulgarian cuisine
 * 11) Cajun cuisine
 * 12) Chilean cuisine
 * 13) Cuisine of New England
 * 14) Cypriot cuisine
 * 15) Filipino cuisine
 * 16) Fujian cuisine
 * 17) Galician cuisine
 * 18) Hakka cuisine
 * 19) Hong Kong cuisine
 * 20) Hunan cuisine
 * 21) Irish cuisine
 * 22) Israeli cuisine
 * 23) Lao cuisine
 * 24) Lebanese cuisine
 * 25) Levantine cuisine
 * 26) Macanese cuisine
 * 27) Macedonian cuisine
 * 28) Malaysian cuisine
 * 29) Mediterranean cuisine
 * 30) North American cuisine
 * 31) Northeastern Chinese cuisine
 * 32) Portuguese cuisine
 * 33) Romanian cuisine
 * 34) Serbian cuisine
 * 35) Shandong cuisine
 * 36) Shanghai cuisine
 * 37) Sichuan cuisine
 * 38) South African cuisine
 * 39) Sri Lankan cuisine
 * 40) Taiwanese cuisine
 * 41) Teochew cuisine
 * 42) Thai cuisine
 * 43) Tunisian cuisine
 * 44) Turkish cuisine
 * 45) Vietnamese cuisine
 * 46) Yunnan cuisine

(To create the above list, I did a search for cuisine templates using SearchSuite (with wikify on), copied the results, and replaced "Template:" with "Portal:".)  &mdash; The Transhumanist   00:08, 26 October 2018 (UTC)

the list is now ready for one-click portal creation. I went through all the links I posted above, to make sure they have a corresponding cuisine template with matching title. To create these portals in one big batch, all you need to do is install User:The Transhumanist/QuickPortal.js and Ctrl-click on all of the redlinks in the list above. Click click click click click... They will all magically appear in tabs, in preview mode, ready for you to inspect them. The only requirement is that you have WikEd turned off. (Otherwise, the script will go into an endless loop in each tab -- I don't know why). If you decide to try it, let me know how it goes. ;)  &mdash; The Transhumanist   07:25, 27 October 2018 (UTC)