Quotes in wiki pages.

Post here if you have a problem with your account.
Forum rules
User avatar
Zorblag
Zorblag
Troll
User avatar
User avatar
Zorblag
Troll
Troll
Posts: 4057
Joined: September 25, 2008
Location: Under a bridge in Seattle

Quotes in wiki pages.

Post Post #0 (ISO) » Thu Jun 04, 2009 5:09 am

Post by Zorblag »

Troll has been been thinking of including some quotes on Troll's wiki page and would like to emulate the style of quoting used in the forums (including to a minor extent the ability to make quote pyramids.) The tool that came closest seems to be the blockquote but no puts the box around the quote Troll would like to have and no seems to have a convenient way to get the
Zorblag wrote:
type of format at the top of a quote. Troll wonders if any with more experience with working with wiki pages might have any suggestions? Basically, Troll would like to be able to put something that looks like:
Zorblag wrote:
Zorblag wrote:This be a quote.
Troll just quoted Troll's own quote.
on a page but no has been able to figure out how that might be accomplished. It no would have to be in exactly that format but the closer Troll could get the happier Troll would be.

-Zorblag R`Lyeh
User avatar
My Milked Eek
My Milked Eek
Mafia Scum
User avatar
User avatar
My Milked Eek
Mafia Scum
Mafia Scum
Posts: 4277
Joined: December 27, 2007
Location: Belgium
Contact:

Post Post #1 (ISO) » Sat Jun 06, 2009 8:02 am

Post by My Milked Eek »

You can include inline css in a wiki page. To have your page display a quote box such as the one in the Sepia Style, you'd want to use:


Code: Select all

'''Zorblag wrote:'''<br />
<div style="border: #c2b49c 1px solid; background: #e0dbc8; padding: 5px;">
textextextext
</div>


This emulates the boards style somewhat, but not entirely. To set a specified width: add "width: xxx" after the "padding: 5px". Replace xxx with your width of choice, eg 15% or 150px.

For pyramids:

Code: Select all

'''Zorblag wrote:'''<br />
<div style="border: #c2b49c 1px solid; background: #e0dbc8; padding: 5px;">
'''Zorblag wrote:'''<br />
<div style="border: #c2b49c 1px solid; background: #e0dbc8; padding: 5px;">
textextextext
</div>
textextextext
</div>
Eek
!
User avatar
Zorblag
Zorblag
Troll
User avatar
User avatar
Zorblag
Troll
Troll
Posts: 4057
Joined: September 25, 2008
Location: Under a bridge in Seattle

Post Post #2 (ISO) » Sat Jun 06, 2009 9:23 am

Post by Zorblag »

That should do nicely; Troll modified it some to get the results Troll wanted but that template was just what Troll was looking for. Troll no be so knowledgeable about these things and Troll thanks much for the help!

-Zorblag R`Lyeh
User avatar
Mr. Flay
Mr. Flay
Metatron
User avatar
User avatar
Mr. Flay
Metatron
Metatron
Posts: 24969
Joined: March 12, 2004
Location: Gormenghast
Contact:

Post Post #3 (ISO) » Sun Jun 07, 2009 3:44 pm

Post by Mr. Flay »

I can also (probably) modify the wiki's css so that blockquotes look more similar to the forums. Do you want something like what MME used, or yours? I don't have a lot of time to stress-test code but I can drop something in if it already looks good...
User avatar
Zorblag
Zorblag
Troll
User avatar
User avatar
Zorblag
Troll
Troll
Posts: 4057
Joined: September 25, 2008
Location: Under a bridge in Seattle

Post Post #4 (ISO) » Sun Jun 07, 2009 3:50 pm

Post by Zorblag »

Mr. Flay, if you were to implement something to make it easier to use Troll would love something that looked like what Troll has on Troll's wiki with a bit more indentation like we have with quotes here (which Troll thinks Troll could have figured out but was too lazy to.) The main thing Troll changed from My Milked Eek was just the colors of the background in the boxes and the border.

Troll no knows if others care about this at all though so it be entirely possible that it no be worth the effort as there be a working solution now.

-Zorblag R`Lyeh
User avatar
MafiaSSK
MafiaSSK
Jack of All Trades
User avatar
User avatar
MafiaSSK
Jack of All Trades
Jack of All Trades
Posts: 5291
Joined: November 25, 2007
Location: Washington, D.C.

Post Post #5 (ISO) » Mon Jun 08, 2009 1:31 am

Post by MafiaSSK »

I would prefer it if they looked like the forum quotes...
User avatar
Mr. Flay
Mr. Flay
Metatron
User avatar
User avatar
Mr. Flay
Metatron
Metatron
Posts: 24969
Joined: March 12, 2004
Location: Gormenghast
Contact:

Post Post #6 (ISO) » Mon Jun 08, 2009 4:55 am

Post by Mr. Flay »

First attempts didn't take for some reason. I don't know if it's a permissions or configuration issue or what, but very few of my recent CSS changes seem to be having any good effect on the wiki. I'll take another stab at it after Flayming Man, unlikely to get to it before (anybody else with Wiki Administrator rights is of course welcome to do something with it in the interim).
Retired as of October 2014.
Post Reply