MVC 3 Razor, Helpers with custom markup/section
I'm not even sure if this is possible, but I thought I would check to see if there is any way to make this easier.

First, I have some repeated markup in my site that looks like this:

    <div class="module">
    	<h3>Title</h3>
    	<div>
    		<p>Information goes here</p>
    	</div>
    </div>

What I want to do is wrap this up in some kind of helper/section so that I could do something like this

    @MyHelper("This is my Title") {
        <p>Here is my custom markup</p>
    }

Then, when it renders, it would inject the title passed in through the parameter between the `<h3></h3>` and the custom markup in the divs.  The custom markup could be anything from test, to form controls, to a partial view.  Is this something that is possible?
MVC 3 Razor, Helpers with custom markup/section
===

I'm not even sure if this is possible, but I thought I would check to see if there is any way to make this easier.

First, I have some repeated markup in my site that looks like this:

    <div class="module">
    	<h3>Title</h3>
    	<div>
    		<p>Information goes here</p>
    	</div>
    </div>

What I want to do is wrap this up in some kind of helper/section so that I could do something like this

    @MyHelper("This is my Title") {
        <p>Here is my custom markup</p>
    }

Then, when it renders, it would inject the title passed in through the parameter between the `<h3></h3>` and the custom markup in the divs.  The custom markup could be anything from test, to form controls, to a partial view.  Is this something that is possible?