Wiki users...
RWB
Icrontian
I am using DokuWiki for a pet project, I am using its own built in code for editing content and it looks good, but I think I am limited in what I want to do to take it further. Basically I have a table of information I created, but because the table is small it doesn't take up much space so about half a page vertically is being wasted and any other information I want put in has to go in the next line down. I'd like to position some text to the left of it so that I can make up some space.
Anyone know what I mean? I'm new to wiki's and I see it done allot of the Wikipedia but I can't figure out how they do it because that code seems to be hidden or I can't find the edit button to allow me to see it.
Take this wiki article for example on Gliese 581 c, there is a table of info containing some bits of information about the planet to the side with more text to the right explaining in depth more info. This is precisely what I want, but can't figure out.
Any help would be greatly appreciated, thanks!
Anyone know what I mean? I'm new to wiki's and I see it done allot of the Wikipedia but I can't figure out how they do it because that code seems to be hidden or I can't find the edit button to allow me to see it.
Take this wiki article for example on Gliese 581 c, there is a table of info containing some bits of information about the planet to the side with more text to the right explaining in depth more info. This is precisely what I want, but can't figure out.
Any help would be greatly appreciated, thanks!
0
Comments
View->Source to see the source code of a page.
Attached is the source code .
Just curious, have you edited a wiki before? I dunno what all you know which is why I ask. If not, you click the edit this page button for example, and it brings up the relevant info on that particular page... nothing like viewing the source and editing the page. My wiki supports embedded HTML, but I am reserving that for embedded PHP and such when needed as to not scare the other guys away from editing the wiki. This page is for my work, a knowledge base of info and training material needed for everyone.
[PHP]{{Planetbox begin
| name = Gliese 581 c
}}|
{{Planetbox image
| image = 250px|
| caption = Gliese 581 c and its star as rendered in Celestia.<br/>The Sun is visible as a magnitude 3.8 star <br/>to the right of a slightly distorted Taurus constellation.<br/>The true orientation of the system is unknown.
}}
{{Planetbox star
| star = Gliese 581
| constell = Libra
| RA = {{RA|15|19|26}}
| DEC = {{DEC|−07|43|20}}
| class = M2.5V
}}
{{Planetbox orbit
| period = 12.93<ref name="planetcharacteristics">http://exoplanet.eu/planet.php?p1=Gl+581&p2=c</ref>
| eccentricity = 0.16±0.07<ref name="planetcharacteristics"/>
| semimajor = 0.073<ref name="planetcharacteristics"/>
}}
{{Planetbox character
| mass_earth = > 5.03
| density = > 8191.45
| temperature = ~290
| radius_earth = ~1.5<ref name="BBC1">{{cite news |url=http://news.bbc.co.uk/1/hi/sci/tech/6589157.stm |title=New 'super-Earth' found in space |accessdate = 2007-04-25 |date=25 April 2007 |publisher=BBC News }}</ref>
}}
{{Planetbox discovery
| discovery_date = 2007-04-24
| discoverers = Udry et al.
| discovery_method = Radial Velocity
| discovery_status = published
}}
{{Planetbox end}}[/PHP]
Looks to be a plugin specifically for this function called "Planetbox".... doh....
"This template is part of a group of templates that are used to display information about a specific extrasolar planet."
Whatever they have between the edit box a user enters 'code' into and the actual HTML takes the info from the template and creates HTML.