DErik's Test Page Renamed

From RCGRS MRT Wiki
Revision as of 12:01, 25 April 2023 by DErik (talk | contribs)
Jump to navigation Jump to search

a heading

this is centered?
This is a test page for DErik.

This text is wrapped in a <span> tag with a CSS style attribute included. The CSS style of "text-align: center;" apparently is not recognized or is ignored or deleted by the wiki software.

The actual full text of the above paragraph is shown below, wrapped in a <nowiki> tag so that you can see all of it. However, the left and right arrow characters around "span" above are done with normal HTML escapes, that is wrapped in an "&" and ";" so that they will appear as the proper characters and not be recognized as arrow indicators.

<span style="font-family: Times New Roman; color: green; text-align: center;">This text is wrapped in a &lt;span&gt; tag with a CSS style attribute included. The CSS style of "text-align: center;" apparently is not recognized or is ignored or deleted by the wiki software.</span>

References and Footnotes

Inserting a reference: [1] Does not work right.

  1. Some reference here

Trying it is WYSIWG editor: <ref>Really does not work</ref> Leave the HTML alone (wraps in nowiki tag).

<references /> Let's try using a cite tag: Template:Cite {{cite}} Does not help either: Some citation
I need to do a lot more research in this.


A file reference included here. [File:5387.jpg|thumb|100x100px]

That is to a JPG and shown as a thumbnail photo. As to why it shows up well below where the reference is made in this text, I do not yet know, but it appears that it will be placed on the immediate next line, to the far right of the text body, with any following text wrapped around it. You may be able to modify that behavior with CSS styling included in a <span> tag around the reference and/or around the affected text.

For example:

A new div start here

A paragraph

Next paragraph

 left span   right span 

A div starts here: with the pic span here:
and div ends here.


might do the job. Oops, guess not.

And the enclosing div ends here.

The "No wiki formatting" button in the toolbar above wraps selected text in the <nowiki></nowiki> tag. This results in the included text not being recognized as wiki commands. And I think not as HTML in some cases either. Still experimenting with that.


A subheading (level 2)

Category stuff

My testing

Others

The following is copied from source of page https://en.wikipedia.org/wiki/Category:Contents.


{{pp-protected|reason=Persistent [[WP:Disruptive editing|disruptive editing]]: new accounts don't need to edit this|small=yes|category=no}}
{{Container category|nocat=true}}
{{Wikipedia category|shortcut1=CAT:|shortcut2=CAT:CONT|shortcut3=CAT:CONTENTS}}
{{For|an overview of the content of Wikipedia|Wikipedia:Contents}}
{{See also|Category:Wikipedia pageviews|Category:Wikipedia navigation|Category:Wikipedia administration}}

This is the '''top level''' of [[Wikipedia:About|Wikipedia]]'s [[Wikipedia:Categorization|category system]] (which is why it has no parent category). Its subcategories contain various types of encyclopaedic content (i.e. [[:Category:Articles|articles]]), content that assists with the navigation of the encyclopaedia (e.g. [[:Category:Portals|portals]]), as well as pages related to maintaining and collaborating on the encyclopaedia (e.g. [[Wikipedia:Administration|Wikipedia administration]] and [[Wikipedia:WikiProjects|WikiProjects]]).


Which results in the following:


Template:Pp-protected
Template:Container category
Template:Wikipedia category
Template:For
Template:See also

This is the top level of Wikipedia's category system (which is why it has no parent category). Its subcategories contain various types of encyclopaedic content (i.e. articles), content that assists with the navigation of the encyclopaedia (e.g. portals), as well as pages related to maintaining and collaborating on the encyclopaedia (e.g. Wikipedia administration and WikiProjects).


Note that the "Template:..." lines, and a couple of other referencees, are red, indicating that the referenced pages do not yet exist. That is because this is the RCGRS wiki site. They do exist on the Wikipedia site, but not here. To see the actual Wikipedia page, and view its actual source from there, click the link at the begining of this section. Also, note the syntax of the references in the source; it is done with transclusion, so the actual page as displayed appears a little differently than just the source text would imply.

Section headings with anchor

<div id="Unique anchor name 1">optional text</div>

<span id="Unique anchor name 2">optional text</span>

Rendered block-level and inline, respectively. Doing this would allow for [[#Unique anchor name 1]] on the same page or [[Help:Links#Unique anchor name 1]] on a different page. Omit the "optional text" for an invisible anchor.

Setting an anchor in a section heading

==<span id="Alternate Section Title 1">Some anchor name here?</span>Section heading goes here==

Note the placement. This must be a "span" tag, not a "div". (Such anchors allow sections to be retitled without breaking incoming links.) DErik note: Note that the text line starts with a blank character, not the "==" characters that indicate a section start. Deleting that blank character results in the following:

<span id="Alternate Section Title 1">Some anchor name here?</span>Section heading goes here

Also note that, in both examples above, everything between the double equals sign pairs, that are the wiki markup for a section, is also wrapped in a "nowiki" tag section - that you cannot see without editing this page.


Creating a table with special formatting

See Help:Tables help page.